diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-02-24 21:34:40 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-02-24 21:34:40 +0000 |
commit | 8010fd5b5d69e2f07cc99d731328880201814020 (patch) | |
tree | 93dad2b200960a2ae5fdde544dbcedd341425556 /sys/net/pfkeyv2.h | |
parent | 95adea1c1b0945553c2382c7c9cc4f773ef427eb (diff) |
SADB_X_CALG_MAX is supposed to be the highest numbered supported algorithm
(prevents a crash in the debugging code in pfkeyv2_parsemessage.c)
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r-- | sys/net/pfkeyv2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index 2f307331318..7892d847b65 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2.h,v 1.46 2003/02/16 21:30:13 deraadt Exp $ */ +/* $OpenBSD: pfkeyv2.h,v 1.47 2003/02/24 21:34:39 jason Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) January 1998 * @@ -296,7 +296,7 @@ struct sadb_x_cred { #define SADB_X_CALG_OUI 1 #define SADB_X_CALG_DEFLATE 2 #define SADB_X_CALG_LZS 3 -#define SADB_X_CALG_MAX 4 +#define SADB_X_CALG_MAX 3 #define SADB_SAFLAGS_PFS 0x001 /* perfect forward secrecy */ #define SADB_X_SAFLAGS_HALFIV 0x002 /* Used for ESP-old */ |