summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-05-07 14:42:26 +0000
committermillert <millert@openbsd.org>2004-05-07 14:42:26 +0000
commit0f25121d4646151182881ccea7cedd1791268749 (patch)
tree6807c33cd17dd6bad25adc0b19f4128dff2ac2c8 /sys/netinet/tcp_input.c
parentSimpler byte order flipping. Now the only place we explicitly check (diff)
downloadwireguard-openbsd-0f25121d4646151182881ccea7cedd1791268749.tar.xz
wireguard-openbsd-0f25121d4646151182881ccea7cedd1791268749.zip
Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index b2da5083d83..dfed21fb290 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.166 2004/05/04 22:50:18 claudio Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.167 2004/05/07 14:42:27 millert Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -110,7 +110,7 @@ struct tcpipv6hdr tcp_saveti6;
#endif /* INET6 */
#ifdef TCP_SIGNATURE
-#include <sys/md5k.h>
+#include <crypto/md5.h>
#endif
int tcprexmtthresh = 3;