diff options
Diffstat (limited to 'regress/keytype.sh')
-rw-r--r-- | regress/keytype.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/regress/keytype.sh b/regress/keytype.sh index 91c5aca1b..20a8ceaf2 100644 --- a/regress/keytype.sh +++ b/regress/keytype.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: keytype.sh,v 1.9 2019/11/26 23:43:10 djm Exp $ | 1 | # $OpenBSD: keytype.sh,v 1.10 2019/12/16 02:39:05 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="login with different key types" | 4 | tid="login with different key types" |
@@ -50,11 +50,7 @@ kname_to_ktype() { | |||
50 | tries="1 2 3" | 50 | tries="1 2 3" |
51 | for ut in $ktypes; do | 51 | for ut in $ktypes; do |
52 | user_type=`kname_to_ktype "$ut"` | 52 | user_type=`kname_to_ktype "$ut"` |
53 | # SK keys are not supported for hostkeys. | 53 | htypes="$ut" |
54 | case "$ut" in | ||
55 | *sk) htypes=ed25519-512;; | ||
56 | *) htypes="$ut";; | ||
57 | esac | ||
58 | #htypes=$ktypes | 54 | #htypes=$ktypes |
59 | for ht in $htypes; do | 55 | for ht in $htypes; do |
60 | host_type=`kname_to_ktype "$ht"` | 56 | host_type=`kname_to_ktype "$ht"` |