summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/ipsec/ipsecadm/ipsecadm.16
-rw-r--r--sbin/ipsec/ipsecadm/ipsecadm.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/sbin/ipsec/ipsecadm/ipsecadm.1 b/sbin/ipsec/ipsecadm/ipsecadm.1
index 9f141223b4e..fb9b94fb879 100644
--- a/sbin/ipsec/ipsecadm/ipsecadm.1
+++ b/sbin/ipsec/ipsecadm/ipsecadm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipsecadm.1,v 1.5 1997/11/18 00:13:43 provos Exp $
+.\" $OpenBSD: ipsecadm.1,v 1.6 1997/11/24 19:15:58 provos Exp $
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
.\"
@@ -149,7 +149,9 @@ are:
.Nm md5
and
.Nm sha1
-for both old and new ah and also new esp.
+for both old and new ah and also new esp. Also
+.Nm rmd160
+for both new ah and esp.
.It key
The secret symmetric key used for encryption and authentication. The size
for
diff --git a/sbin/ipsec/ipsecadm/ipsecadm.c b/sbin/ipsec/ipsecadm/ipsecadm.c
index 2e7ef187554..fa3017bd202 100644
--- a/sbin/ipsec/ipsecadm/ipsecadm.c
+++ b/sbin/ipsec/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.12 1997/11/18 00:13:44 provos Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.13 1997/11/24 19:15:58 provos Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
* (except when noted otherwise).
@@ -95,6 +95,7 @@ transform xf[] = {
{"cast", ALG_ENC_CAST, XF_ENC | ESP_NEW},
{"md5", ALG_AUTH_MD5, XF_AUTH|AH_OLD|AH_NEW|ESP_NEW},
{"sha1", ALG_AUTH_SHA1,XF_AUTH|AH_OLD|AH_NEW|ESP_NEW},
+ {"rmd160", ALG_AUTH_RMD160, XF_AUTH|AH_NEW|ESP_NEW},
};
char buf[1024];