From: dtucker@openbsd.org Date: Sat, 8 Jan 2022 07:01:13 +0000 (+0000) Subject: upstream: Enable all supported hostkey algorithms (but no others). X-Git-Tag: V_8_9_P1~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a7c88e26fd673813dc5f61c4ac278564845e004;p=thirdparty%2Fopenssh-portable.git upstream: Enable all supported hostkey algorithms (but no others). Allows hostbased test to pass when built without OpenSSL. OpenBSD-Regress-ID: 5ddd677a68b672517e1e78460dc6ca2ccc0a9562 --- diff --git a/regress/hostbased.sh b/regress/hostbased.sh index f62d6f5f1..470bce885 100644 --- a/regress/hostbased.sh +++ b/regress/hostbased.sh @@ -1,4 +1,4 @@ -# $OpenBSD: hostbased.sh,v 1.1 2022/01/06 21:46:56 dtucker Exp $ +# $OpenBSD: hostbased.sh,v 1.2 2022/01/08 07:01:13 dtucker Exp $ # Placed in the Public Domain. # This test requires external setup and thus is skipped unless @@ -18,20 +18,24 @@ elif [ -z "${SUDO}" ]; then skip "SUDO not set" fi +# Enable all supported hostkey algos (but no others) +hostkeyalgos=`${SSH} -Q HostKeyAlgorithms | tr '\n' , | sed 's/,$//'` + cat >>$OBJ/sshd_proxy <>$OBJ/ssh_proxy <