summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2003-07-24 09:59:02 +0000
committeritojun <itojun@openbsd.org>2003-07-24 09:59:02 +0000
commite27dd803bf398ce9a26c7b76c473824d445d08d3 (patch)
tree715cb6061e3df2fb4e47acbb912604bee515fc53 /sys/netinet
parent.Xr vnodeops -> .Xr VOP_LOOKUP; (diff)
downloadwireguard-openbsd-e27dd803bf398ce9a26c7b76c473824d445d08d3.tar.xz
wireguard-openbsd-e27dd803bf398ce9a26c7b76c473824d445d08d3.zip
conform to RFC2367 on SADB_xx naming (local name must be prefixed with
SADB_X_xx)
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ah.c10
-rw-r--r--sys/netinet/ip_esp.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c
index c2689573892..41bf387c718 100644
--- a/sys/netinet/ip_ah.c
+++ b/sys/netinet/ip_ah.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ah.c,v 1.77 2003/07/24 08:03:19 itojun Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.78 2003/07/24 09:59:02 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -103,19 +103,19 @@ ah_init(struct tdb *tdbp, struct xformsw *xsp, struct ipsecinit *ii)
thash = &auth_hash_hmac_sha1_96;
break;
- case SADB_AALG_RIPEMD160HMAC:
+ case SADB_X_AALG_RIPEMD160HMAC:
thash = &auth_hash_hmac_ripemd_160_96;
break;
- case SADB_AALG_SHA2_256:
+ case SADB_X_AALG_SHA2_256:
thash = &auth_hash_hmac_sha2_256_96;
break;
- case SADB_AALG_SHA2_384:
+ case SADB_X_AALG_SHA2_384:
thash = &auth_hash_hmac_sha2_384_96;
break;
- case SADB_AALG_SHA2_512:
+ case SADB_X_AALG_SHA2_512:
thash = &auth_hash_hmac_sha2_512_96;
break;
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c
index 13452b39c70..8ea427e157b 100644
--- a/sys/netinet/ip_esp.c
+++ b/sys/netinet/ip_esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.c,v 1.85 2003/07/24 08:03:20 itojun Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.86 2003/07/24 09:59:02 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -156,19 +156,19 @@ esp_init(struct tdb *tdbp, struct xformsw *xsp, struct ipsecinit *ii)
thash = &auth_hash_hmac_sha1_96;
break;
- case SADB_AALG_RIPEMD160HMAC:
+ case SADB_X_AALG_RIPEMD160HMAC:
thash = &auth_hash_hmac_ripemd_160_96;
break;
- case SADB_AALG_SHA2_256:
+ case SADB_X_AALG_SHA2_256:
thash = &auth_hash_hmac_sha2_256_96;
break;
- case SADB_AALG_SHA2_384:
+ case SADB_X_AALG_SHA2_384:
thash = &auth_hash_hmac_sha2_384_96;
break;
- case SADB_AALG_SHA2_512:
+ case SADB_X_AALG_SHA2_512:
thash = &auth_hash_hmac_sha2_512_96;
break;