remove configure --with-ssh1
This commit is contained in:
parent
f4a6a88ddb
commit
f7849e6c83
28
configure.ac
28
configure.ac
|
@ -109,13 +109,10 @@ AC_CHECK_DECL([PR_SET_NO_NEW_PRIVS], [have_linux_no_new_privs=1], , [
|
||||||
])
|
])
|
||||||
|
|
||||||
openssl=yes
|
openssl=yes
|
||||||
ssh1=no
|
|
||||||
COMMENT_OUT_RSA1="#no ssh1#"
|
|
||||||
AC_ARG_WITH([openssl],
|
AC_ARG_WITH([openssl],
|
||||||
[ --without-openssl Disable use of OpenSSL; use only limited internal crypto **EXPERIMENTAL** ],
|
[ --without-openssl Disable use of OpenSSL; use only limited internal crypto **EXPERIMENTAL** ],
|
||||||
[ if test "x$withval" = "xno" ; then
|
[ if test "x$withval" = "xno" ; then
|
||||||
openssl=no
|
openssl=no
|
||||||
ssh1=no
|
|
||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -127,31 +124,6 @@ else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH([ssh1],
|
|
||||||
[ --with-ssh1 Enable support for SSH protocol 1],
|
|
||||||
[
|
|
||||||
if test "x$withval" = "xyes" ; then
|
|
||||||
if test "x$openssl" = "xno" ; then
|
|
||||||
AC_MSG_ERROR([Cannot enable SSH protocol 1 with OpenSSL disabled])
|
|
||||||
fi
|
|
||||||
ssh1=yes
|
|
||||||
COMMENT_OUT_RSA1=""
|
|
||||||
elif test "x$withval" = "xno" ; then
|
|
||||||
ssh1=no
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([unknown --with-ssh1 argument])
|
|
||||||
fi
|
|
||||||
]
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether SSH protocol 1 support is enabled])
|
|
||||||
if test "x$ssh1" = "xyes" ; then
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
AC_DEFINE_UNQUOTED([WITH_SSH1], [1], [include SSH protocol version 1 support])
|
|
||||||
AC_SUBST([COMMENT_OUT_RSA1])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
fi
|
|
||||||
|
|
||||||
use_stack_protector=1
|
use_stack_protector=1
|
||||||
use_toolchain_hardening=1
|
use_toolchain_hardening=1
|
||||||
AC_ARG_WITH([stackprotect],
|
AC_ARG_WITH([stackprotect],
|
||||||
|
|
Loading…
Reference in New Issue