From 1a7c88e26fd673813dc5f61c4ac278564845e004 Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Sat, 8 Jan 2022 07:01:13 +0000 Subject: [PATCH] upstream: Enable all supported hostkey algorithms (but no others). Allows hostbased test to pass when built without OpenSSL. OpenBSD-Regress-ID: 5ddd677a68b672517e1e78460dc6ca2ccc0a9562 --- regress/hostbased.sh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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 <