diff options
author | bz <bz@FreeBSD.org> | 2013-01-17 01:51:04 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2013-01-17 01:51:04 +0000 |
commit | a3df209122b2ceae76b630efea1a4d277793a540 (patch) | |
tree | 1e12c3df6c2fb0d5dd44d02fe0f3894e6b28d882 /secure/lib | |
parent | c68369b5438c9258d7f356fa9ab19aa5e3bda079 (diff) | |
download | FreeBSD-src-a3df209122b2ceae76b630efea1a4d277793a540.zip FreeBSD-src-a3df209122b2ceae76b630efea1a4d277793a540.tar.gz |
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
Diffstat (limited to 'secure/lib')
-rw-r--r-- | secure/lib/libssh/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile index 7224823..937fa24 100644 --- a/secure/lib/libssh/Makefile +++ b/secure/lib/libssh/Makefile @@ -38,6 +38,10 @@ DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${ LDADD+= -lgssapi -lkrb5 -lhx509 -lasn1 -lcom_err -lmd -lroken .endif +.if ${MK_OPENSSH_NONE_CIPHER} != "no" +CFLAGS+= -DNONE_CIPHER_ENABLED +.endif + NO_LINT= DPADD+= ${LIBCRYPTO} ${LIBCRYPT} |