re-enable SSH protocol 1 at compile time

This commit is contained in:
Damien Miller 2015-05-29 17:08:28 +10:00
parent db438f9285
commit 0c2a81dfc2
1 changed files with 5 additions and 1 deletions

View 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
]
)