summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm/ipsecadm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipsecadm/ipsecadm.c')
-rw-r--r--sbin/ipsecadm/ipsecadm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c
index cc2a4bb4d09..015c5b4d583 100644
--- a/sbin/ipsecadm/ipsecadm.c
+++ b/sbin/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.67 2003/07/02 21:44:57 deraadt Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.68 2003/07/24 08:03:19 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -103,6 +103,9 @@ transform xf[] = {
{ "skipjack", SADB_X_EALG_SKIPJACK, XF_ENC | ESP_NEW },
{ "md5", SADB_AALG_MD5HMAC, XF_AUTH | AH_NEW | ESP_NEW },
{ "sha1", SADB_AALG_SHA1HMAC, XF_AUTH | AH_NEW | ESP_NEW },
+ { "sha2-256", SADB_AALG_SHA2_256, XF_AUTH | AH_NEW | ESP_NEW },
+ { "sha2-384", SADB_AALG_SHA2_384, XF_AUTH | AH_NEW | ESP_NEW },
+ { "sha2-512", SADB_AALG_SHA2_512, XF_AUTH | AH_NEW | ESP_NEW },
{ "md5", SADB_X_AALG_MD5, XF_AUTH | AH_OLD },
{ "sha1", SADB_X_AALG_SHA1, XF_AUTH | AH_OLD },
{ "rmd160", SADB_AALG_RIPEMD160HMAC, XF_AUTH | AH_NEW | ESP_NEW },