summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-11-11 05:00:34 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-11-11 05:00:34 +0000
commit450e0f0e73ca9e5d9d726ddc7300478df60cf157 (patch)
tree9f644985ffe1084e85402efe7463e943239bfe3e /sys/net
parenta7f90024f7e65e2ae9c0b0859e46af3ba280e656 (diff)
AES should be 12 (from IANA) -- itojun@openbsd.org
Note that you have to recompile ipsecadm and isakmpd if you use a new kernel.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 57ca811359e..5939e8a8250 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -229,9 +229,9 @@ struct sadb_policy {
#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_X_EALG_BLF 7
-#define SADB_EALG_MAX 7
+#define SADB_X_EALG_AES 12
+#define SADB_EALG_MAX 12
#define SADB_SAFLAGS_PFS 0x001 /* perfect forward secrecy */
#define SADB_X_SAFLAGS_HALFIV 0x002 /* Used for ESP-old */