diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-07-24 09:59:04 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-07-24 09:59:04 +0000 |
commit | cf8a63ce921e613109b04585a6ac7ddb1a4ccf5c (patch) | |
tree | ccaebf84327b7eeb4b214481d45e1ae688739cc6 /sys/netinet | |
parent | d3b27e35971d741dd22c9efcd80d37f89aa45d99 (diff) |
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.c | 10 | ||||
-rw-r--r-- | sys/netinet/ip_esp.c | 10 |
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; |