Module Name: src
Committed By: maxv
Date: Fri Feb 16 08:56:50 UTC 2018
Modified Files:
src/sys/netipsec: ipsec.c
Log Message:
Remove ipsec_replay and ipsec_integrity from this place, they are already
declared as sysctls. Discussed with ozaki-r@.
To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/netipsec/ipsec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netipsec/ipsec.c
diff -u src/sys/netipsec/ipsec.c:1.126 src/sys/netipsec/ipsec.c:1.127
--- src/sys/netipsec/ipsec.c:1.126 Fri Feb 16 08:51:28 2018
+++ src/sys/netipsec/ipsec.c Fri Feb 16 08:56:50 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.126 2018/02/16 08:51:28 maxv Exp $ */
+/* $NetBSD: ipsec.c,v 1.127 2018/02/16 08:56:50 maxv Exp $ */
/* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.126 2018/02/16 08:51:28 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.127 2018/02/16 08:56:50 maxv Exp $");
/*
* IPsec controller part.
@@ -164,10 +164,6 @@ static struct secpolicy *ipsec_getpolicy
/* net.inet.ipsec */
SYSCTL_INT(_net_inet_ipsec, OID_AUTO,
crypto_support, CTLFLAG_RW, &crypto_support,0, "");
-SYSCTL_INT(_net_inet_ipsec, OID_AUTO, test_replay, CTLFLAG_RW, &ipsec_replay, 0,
- "Emulate replay attack");
-SYSCTL_INT(_net_inet_ipsec, OID_AUTO, test_integrity, CTLFLAG_RW,
- &ipsec_integrity, 0, "Emulate man-in-the-middle attack");
#endif /* __FreeBSD__ */
#ifdef INET6