summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2000-11-09 22:20:02 +0000
committerangelos <angelos@openbsd.org>2000-11-09 22:20:02 +0000
commitd2c09542f4c93d6330bc9ec67bd19bc869574543 (patch)
tree6e4b4c16dad7ae40f696ff7a4e52e94e817c3db0
parentcast pointer to a long for alpha's sake; pointed out by ericj@ (diff)
downloadwireguard-openbsd-d2c09542f4c93d6330bc9ec67bd19bc869574543.tar.xz
wireguard-openbsd-d2c09542f4c93d6330bc9ec67bd19bc869574543.zip
Conform to RFC 2367 numbering (hshoexer@rommelwood.de)
-rw-r--r--sys/net/pfkeyv2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 9d7073f70b6..57ca811359e 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -225,13 +225,13 @@ struct sadb_policy {
#define SADB_AALG_MAX 7
#define SADB_EALG_NONE 0
-#define SADB_EALG_DESCBC 1
-#define SADB_EALG_3DESCBC 2
-#define SADB_X_EALG_BLF 3
+#define SADB_EALG_DESCBC 2
+#define SADB_EALG_3DESCBC 3
#define SADB_X_EALG_CAST 4
#define SADB_X_EALG_SKIPJACK 5
#define SADB_X_EALG_AES 6
-#define SADB_EALG_MAX 6
+#define SADB_X_EALG_BLF 7
+#define SADB_EALG_MAX 7
#define SADB_SAFLAGS_PFS 0x001 /* perfect forward secrecy */
#define SADB_X_SAFLAGS_HALFIV 0x002 /* Used for ESP-old */