upstream: Re-enable ssh-dss tests

... if ssh is compiled with DSA support

OpenBSD-Regress-ID: bbfaf8c17f2b50a2d46ac35cb97af99b990c990d
This commit is contained in:
dtucker@openbsd.org 2024-06-18 08:11:48 +00:00 committed by Darren Tucker
parent dabc2c7cf3
commit de1c2e70e5
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: test-exec.sh,v 1.116 2024/06/18 06:14:27 anton Exp $
# $OpenBSD: test-exec.sh,v 1.117 2024/06/18 08:11:48 dtucker Exp $
# Placed in the Public Domain.
#SUDO=sudo
@ -845,6 +845,10 @@ esac
if test "$REGRESS_INTEROP_DROPBEAR" = "yes" ; then
trace Create dropbear keys and add to authorized_keys
kt="rsa ecdsa ed25519"
if $SSH -Q key-plain | grep ssh-dss >/dev/null; then
kt="$kt dss"
fi
mkdir -p $OBJ/.dropbear
for i in rsa ecdsa ed25519; do
if [ ! -f "$OBJ/.dropbear/id_$i" ]; then