diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-07-09 14:31:46 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-07-09 14:31:46 +0000 |
commit | 90da3c93b66a387ccecb643d82f32fb4db750b23 (patch) | |
tree | 7c25928b0540e362e1e5da76cc88be332e2b789b /sbin | |
parent | 71c7a445fe5b2ff5694ff0d9538493a99365bd40 (diff) |
HASH payload validation does not require an exchange.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/message.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index 722a5d7deeb..fcb585fc2a7 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.55 2002/07/04 22:23:49 ho Exp $ */ +/* $OpenBSD: message.c,v 1.56 2002/07/09 14:31:45 ho Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -486,14 +486,6 @@ message_validate_delete (struct message *msg, struct payload *p) static int message_validate_hash (struct message *msg, struct payload *p) { - if (!msg->exchange) - { - /* We should have an exchange at this point. */ - log_print ("message_validate_hash: payload out of sequence"); - message_drop (msg, ISAKMP_NOTIFY_PAYLOAD_MALFORMED, 0, 1, 1); - return -1; - } - /* XXX Not implemented yet. */ return 0; } |