aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.sbin
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2013-01-17 01:51:04 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2013-01-17 01:51:04 +0000
commite6a64a84ea85d2b0b5b4d3c9cb8808d12bd8b2f5 (patch)
tree1e12c3df6c2fb0d5dd44d02fe0f3894e6b28d882 /secure/usr.sbin
parent4f22608e542ee5fb20d191a5da67891063358076 (diff)
downloadsrc-e6a64a84ea85d2b0b5b4d3c9cb8808d12bd8b2f5.tar.gz
src-e6a64a84ea85d2b0b5b4d3c9cb8808d12bd8b2f5.zip
Add a src.conf(5) option to allow users to compile in the "NONE cipher",
which, only after authentication, disables crypto, and only for sessions without a terminal. Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days
Notes
Notes: svn path=/head/; revision=245527
Diffstat (limited to 'secure/usr.sbin')
-rw-r--r--secure/usr.sbin/sshd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index cc914c4d0e93..3fb07087ca79 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -40,6 +40,10 @@ DPADD+= ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1}
LDADD+= -lgssapi_krb5 -lgssapi -lkrb5 -lasn1
.endif
+.if ${MK_OPENSSH_NONE_CIPHER} != "no"
+CFLAGS+= -DNONE_CIPHER_ENABLED
+.endif
+
DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
LDADD+= -lcrypto -lcrypt