diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-10 23:08:50 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-10 23:08:50 +0000 |
commit | 1d6249865212270a6e6a513a2f656690e7b5c042 (patch) | |
tree | e2aa46a32ebd4bd44808de572c5041d559699a99 /sbin/isakmpd/doi.h | |
parent | 269e9b0ceb4a217d7841ca9a9f66e153e6d6e863 (diff) |
Fix payload handling flaws found by cloder@. Based on initial patch by
cloder@. Testing by markus@ cloder@ hshoexer@.
ok ho@
Diffstat (limited to 'sbin/isakmpd/doi.h')
-rw-r--r-- | sbin/isakmpd/doi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/doi.h b/sbin/isakmpd/doi.h index 201b4d818f7..bf5b4b69b2c 100644 --- a/sbin/isakmpd/doi.h +++ b/sbin/isakmpd/doi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: doi.h,v 1.11 2003/06/03 14:28:16 ho Exp $ */ +/* $OpenBSD: doi.h,v 1.12 2004/03/10 23:08:48 hshoexer Exp $ */ /* $EOM: doi.h,v 1.29 2000/07/02 18:47:15 provos Exp $ */ /* @@ -83,7 +83,7 @@ struct doi { int (*validate_key_information) (u_int8_t *, size_t); int (*validate_notification) (u_int16_t); int (*validate_proto) (u_int8_t); - int (*validate_situation) (u_int8_t *, size_t *); + int (*validate_situation) (u_int8_t *, size_t *, size_t); int (*validate_transform_id) (u_int8_t, u_int8_t); int (*initiator) (struct message *msg); int (*responder) (struct message *msg); |