diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-10-16 23:27:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-10-16 23:27:14 +0000 |
commit | 3a60dc4448d60d68e4d7771d631e0ffe8a2f27b0 (patch) | |
tree | 830287f3efcf7bb8e0f85b078e2725a19aedb6e8 /sbin | |
parent | e9e5fa23faa79850f3c058551bc27aa711377ef3 (diff) |
Merge with EOM 1.29
author: angelos
Add comment on where we could be checking the Remote-ID.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/ike_phase_1.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/isakmpd/ike_phase_1.c b/sbin/isakmpd/ike_phase_1.c index 1f3d59d50c4..dccb67a4baf 100644 --- a/sbin/isakmpd/ike_phase_1.c +++ b/sbin/isakmpd/ike_phase_1.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ike_phase_1.c,v 1.19 2000/10/07 06:58:07 niklas Exp $ */ -/* $EOM: ike_phase_1.c,v 1.28 2000/10/06 23:43:27 niklas Exp $ */ +/* $OpenBSD: ike_phase_1.c,v 1.20 2000/10/16 23:27:13 niklas Exp $ */ +/* $EOM: ike_phase_1.c,v 1.29 2000/10/14 18:50:04 angelos Exp $ */ /* * Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -906,6 +906,12 @@ ike_phase_1_recv_ID (struct message *msg) u_int8_t **id; size_t *id_len; + /* + * XXX Here, we could be checking that the received ID matches what + * we expect it to be (if anything). That information is contained + * in the [[exchange->name]:Remote-ID] section. + */ + /* Choose the right fields to fill in */ id = initiator ? &exchange->id_r : &exchange->id_i; id_len = initiator ? &exchange->id_r_len : &exchange->id_i_len; |