mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
upstream commit
Compile-time disable SSH protocol 1. You can turn it back on using the Makefile.inc knob if you need it to talk to ancient devices.
This commit is contained in:
parent
53097b2022
commit
2aa9da1a3b
11
configure.ac
11
configure.ac
@ -122,7 +122,7 @@ AC_CHECK_DECL([PR_SET_NO_NEW_PRIVS], [have_linux_no_new_privs=1], , [
|
|||||||
])
|
])
|
||||||
|
|
||||||
openssl=yes
|
openssl=yes
|
||||||
ssh1=yes
|
ssh1=no
|
||||||
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
|
||||||
@ -140,13 +140,14 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH([ssh1],
|
AC_ARG_WITH([ssh1],
|
||||||
[ --without-ssh1 Disable support for SSH protocol 1],
|
[ --with-ssh1 Enable support for SSH protocol 1],
|
||||||
[
|
[
|
||||||
if test "x$withval" = "xno" ; then
|
if test "x$withval" = "xyes" ; then
|
||||||
ssh1=no
|
if test "x$openssl" = "xno" ; then
|
||||||
elif test "x$openssl" = "xno" ; then
|
|
||||||
AC_MSG_ERROR([Cannot enable SSH protocol 1 with OpenSSL disabled])
|
AC_MSG_ERROR([Cannot enable SSH protocol 1 with OpenSSL disabled])
|
||||||
fi
|
fi
|
||||||
|
ssh1=yes
|
||||||
|
fi
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
AC_MSG_CHECKING([whether SSH protocol 1 support is enabled])
|
AC_MSG_CHECKING([whether SSH protocol 1 support is enabled])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user