9fd6981
diff -up openssh-8.8p1/regress/hostkey-agent.sh.redhat openssh-8.8p1/regress/hostkey-agent.sh
9fd6981
--- openssh-8.8p1/regress/hostkey-agent.sh.redhat	2022-08-10 15:54:42.084777662 +0200
9fd6981
+++ openssh-8.8p1/regress/hostkey-agent.sh	2022-08-10 17:01:25.651269994 +0200
9fd6981
@@ -36,6 +36,8 @@ unset SSH_AUTH_SOCK
03150f6
 unset SSH_AUTH_SOCK
9fd6981
 
03150f6
 for k in $SSH_ACCEPTED_KEYTYPES ; do
03150f6
+	[ "$k" == "ssh-rsa" ] && continue
03150f6
+	[ "$k" == "ssh-dss" ] && continue
03150f6
	verbose "key type $k"
03150f6
	cp $OBJ/sshd_proxy.orig $OBJ/sshd_proxy
03150f6
	echo "HostKeyAlgorithms $k" >> $OBJ/sshd_proxy
9fd6981
diff -up openssh-8.8p1/regress/hostkey-rotate.sh.redhat openssh-8.8p1/regress/hostkey-rotate.sh
9fd6981
--- openssh-8.8p1/regress/hostkey-rotate.sh.redhat	2022-08-10 16:57:12.720029146 +0200
9fd6981
+++ openssh-8.8p1/regress/hostkey-rotate.sh	2022-08-10 17:15:48.274923865 +0200
9fd6981
@@ -40,6 +40,8 @@ trace "prepare hostkeys"
9fd6981
 nkeys=0
9fd6981
 all_algs=""
9fd6981
 for k in $SSH_HOSTKEY_TYPES; do
9fd6981
+	[ "$k" == "ssh-rsa" ] && continue
9fd6981
+	[ "$k" == "ssh-dss" ] && continue
9fd6981
 	${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k"
9fd6981
 	echo "Hostkey $OBJ/hkr.${k}" >> $OBJ/sshd_proxy.orig
9fd6981
 	nkeys=`expr $nkeys + 1`
9fd6981
@@ -87,11 +89,15 @@ dossh -oStrictHostKeyChecking=yes -oHost
9fd6981
 # Check that other keys learned
9fd6981
 expect_nkeys $nkeys "learn hostkeys"
9fd6981
 for k in $SSH_HOSTKEY_TYPES; do
9fd6981
+	[ "$k" == "ssh-rsa" ] && continue
9fd6981
+	[ "$k" == "ssh-dss" ] && continue
9fd6981
 	check_key_present $k || fail "didn't learn keytype $k"
9fd6981
 done
9fd6981
 
9fd6981
 # Check each key type
9fd6981
 for k in $SSH_HOSTKEY_TYPES; do
9fd6981
+	[ "$k" == "ssh-rsa" ] && continue
9fd6981
+	[ "$k" == "ssh-dss" ] && continue
9fd6981
 	verbose "learn additional hostkeys, type=$k"
9fd6981
 	dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=$k,$all_algs
9fd6981
 	expect_nkeys $nkeys "learn hostkeys $k"
9fd6981