summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.c
diff options
context:
space:
mode:
authorcmetz <cmetz@cvs.openbsd.org>1999-07-06 20:17:54 +0000
committercmetz <cmetz@cvs.openbsd.org>1999-07-06 20:17:54 +0000
commitb572bd87e759146844b72e7a327306a471ae69c7 (patch)
tree3e21a6f1fca265ba2767f46b76bfd8d2182243b9 /sys/netinet/ip_ipsp.c
parent1b325370253fe0a5d55ea7f66f9477a75800daaf (diff)
Added support for TCP MD5 option (RFC 2385).
Diffstat (limited to 'sys/netinet/ip_ipsp.c')
-rw-r--r--sys/netinet/ip_ipsp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 17aee8d995a..749c747c347 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.46 1999/06/07 07:20:38 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.47 1999/07/06 20:17:52 cmetz Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -139,6 +139,12 @@ struct xformsw xformsw[] = {
"Encryption + Authentication + Replay Protection",
esp_new_attach, esp_new_init, esp_new_zeroize,
esp_new_input, esp_new_output, },
+#ifdef TCP_SIGNATURE
+ { XF_TCPSIGNATURE, XFT_AUTH, "TCP MD5 Signature Option, RFC 2385",
+ tcp_signature_tdb_attach, tcp_signature_tdb_init,
+ tcp_signature_tdb_zeroize, tcp_signature_tdb_input,
+ tcp_signature_tdb_output, }
+#endif /* TCP_SIGNATURE */
};
struct xformsw *xformswNXFORMSW = &xformsw[sizeof(xformsw)/sizeof(xformsw[0])];