summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm/pfkdump.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-07-24 09:59:04 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-07-24 09:59:04 +0000
commitcf8a63ce921e613109b04585a6ac7ddb1a4ccf5c (patch)
treeccaebf84327b7eeb4b214481d45e1ae688739cc6 /sbin/ipsecadm/pfkdump.c
parentd3b27e35971d741dd22c9efcd80d37f89aa45d99 (diff)
conform to RFC2367 on SADB_xx naming (local name must be prefixed with
SADB_X_xx)
Diffstat (limited to 'sbin/ipsecadm/pfkdump.c')
-rw-r--r--sbin/ipsecadm/pfkdump.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/ipsecadm/pfkdump.c b/sbin/ipsecadm/pfkdump.c
index 2c1f5846842..bc5d0b56902 100644
--- a/sbin/ipsecadm/pfkdump.c
+++ b/sbin/ipsecadm/pfkdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkdump.c,v 1.6 2003/07/24 08:03:19 itojun Exp $ */
+/* $OpenBSD: pfkdump.c,v 1.7 2003/07/24 09:59:03 itojun Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
@@ -142,13 +142,13 @@ struct idname sa_types[] = {
struct idname auth_types[] = {
{ SADB_AALG_NONE, "none", NULL },
- { SADB_AALG_DES, "des", NULL },
+ { SADB_X_AALG_DES, "des", NULL },
{ SADB_AALG_MD5HMAC, "hmac-md5", NULL },
- { SADB_AALG_RIPEMD160HMAC, "hmac-ripemd160", NULL },
+ { SADB_X_AALG_RIPEMD160HMAC, "hmac-ripemd160", NULL },
{ SADB_AALG_SHA1HMAC, "hmac-sha1", NULL },
- { SADB_AALG_SHA2_256, "hmac-sha2-256", NULL },
- { SADB_AALG_SHA2_384, "hmac-sha2-384", NULL },
- { SADB_AALG_SHA2_512, "hmac-sha2-512", NULL },
+ { SADB_X_AALG_SHA2_256, "hmac-sha2-256", NULL },
+ { SADB_X_AALG_SHA2_384, "hmac-sha2-384", NULL },
+ { SADB_X_AALG_SHA2_512, "hmac-sha2-512", NULL },
{ SADB_X_AALG_MD5, "md5", NULL },
{ SADB_X_AALG_SHA1, "sha1", NULL },
{ 0, NULL, NULL }
@@ -165,7 +165,7 @@ struct idname enc_types[] = {
{ SADB_X_EALG_DES_IV32, "des-iv32", NULL },
{ SADB_X_EALG_DES_IV64, "des-iv64", NULL },
{ SADB_X_EALG_IDEA, "idea", NULL },
- { SADB_X_EALG_NULL, "null", NULL },
+ { SADB_EALG_NULL, "null", NULL },
{ SADB_X_EALG_RC4, "rc4", NULL },
{ SADB_X_EALG_RC5, "rc5", NULL },
{ SADB_X_EALG_SKIPJACK, "skipjack", NULL },