From 3a60dc4448d60d68e4d7771d631e0ffe8a2f27b0 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Mon, 16 Oct 2000 23:27:14 +0000 Subject: Merge with EOM 1.29 author: angelos Add comment on where we could be checking the Remote-ID. --- sbin/isakmpd/ike_phase_1.c | 10 ++++++++-- 1 file 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; -- cgit v1.2.3