summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-05-29 17:08:28 +1000
committerDamien Miller <djm@mindrot.org>2015-05-29 17:08:28 +1000
commit0c2a81dfc21822f2423edd30751e5ec53467b347 (patch)
treeb24b57792adc56cd44cb6c0ae06afb4b1acb6b66
parentdb438f9285d64282d3ac9e8c0944f59f037c0151 (diff)
re-enable SSH protocol 1 at compile time
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 606c7363..68ce7d67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AC_CHECK_DECL([PR_SET_NO_NEW_PRIVS], [have_linux_no_new_privs=1], , [
])
openssl=yes
-ssh1=no
+ssh1=yes
AC_ARG_WITH([openssl],
[ --without-openssl Disable use of OpenSSL; use only limited internal crypto **EXPERIMENTAL** ],
[ if test "x$withval" = "xno" ; then
@@ -147,6 +147,10 @@ AC_ARG_WITH([ssh1],
AC_MSG_ERROR([Cannot enable SSH protocol 1 with OpenSSL disabled])
fi
ssh1=yes
+ elif test "x$withval" = "xno" ; then
+ ssh1=no
+ else
+ AC_MSG_ERROR([unknown --with-ssh1 argument])
fi
]
)