]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
re-enable SSH protocol 1 at compile time
authorDamien Miller <djm@mindrot.org>
Fri, 29 May 2015 07:08:28 +0000 (17:08 +1000)
committerDamien Miller <djm@mindrot.org>
Fri, 29 May 2015 07:08:28 +0000 (17:08 +1000)
configure.ac

index 606c7363bfe9cc3084b9d128e4d9d2e0a843c5f5..68ce7d67492ab7192e6c4924c6db42e3e098a8b6 100644 (file)
@@ -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
        ]
 )