summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ahhmacmd5.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-03-30 22:05:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-03-30 22:05:17 +0000
commit6cf6987f2d11f9a77913fc76e5219db3f7aae272 (patch)
treeeabffbfb0e01c75cdf2f0a3246b95d21bd9c6b0d /sys/netinet/ip_ahhmacmd5.c
parent71759fc599c0fe7c89d459ca9536eba33ed941da (diff)
no more 2(two) md5 libs in kernel!
tested for rnd(4).... should work for ip too, since it's the copy of ip_md*. use sys/md5k.h for protos.... std iface forever! hurray!
Diffstat (limited to 'sys/netinet/ip_ahhmacmd5.c')
-rw-r--r--sys/netinet/ip_ahhmacmd5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ahhmacmd5.c b/sys/netinet/ip_ahhmacmd5.c
index 1191de75bc6..5c42d67f793 100644
--- a/sys/netinet/ip_ahhmacmd5.c
+++ b/sys/netinet/ip_ahhmacmd5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ahhmacmd5.c,v 1.6 1997/03/09 07:03:20 angelos Exp $ */
+/* $OpenBSD: ip_ahhmacmd5.c,v 1.7 1997/03/30 22:05:12 mickey Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -109,8 +109,8 @@ ahhmacmd5_init(struct tdb *tdbp, struct xformsw *xsp, struct mbuf *m)
xd->amx_bitmap = 0;
xd->amx_wnd = txd.amx_wnd;
- realMD5Init(&(xd->amx_ictx));
- realMD5Init(&(xd->amx_octx));
+ MD5Init(&(xd->amx_ictx));
+ MD5Init(&(xd->amx_octx));
for (len = 0; len < AHHMACMD5_KMAX; len++)
txd.amx_key[len] ^= HMACMD5_IPAD_VAL;