diff options
Diffstat (limited to 'regress/keytype.sh')
-rw-r--r-- | regress/keytype.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/regress/keytype.sh b/regress/keytype.sh index 2c57ec6b1..9752acb0a 100644 --- a/regress/keytype.sh +++ b/regress/keytype.sh | |||
@@ -11,12 +11,14 @@ fi | |||
11 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak | 11 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak |
12 | cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak | 12 | cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak |
13 | 13 | ||
14 | # Traditional and builtin key types. | ||
14 | ktypes="dsa-1024 rsa-2048 rsa-3072 ed25519-512" | 15 | ktypes="dsa-1024 rsa-2048 rsa-3072 ed25519-512" |
16 | # Types not present in all OpenSSL versions. | ||
15 | for i in `$SSH -Q key`; do | 17 | for i in `$SSH -Q key`; do |
16 | case "$i" in | 18 | case "$i" in |
17 | ecdsa-sha2-nistp256) ktype="$ktype ecdsa-256" ;; | 19 | ecdsa-sha2-nistp256) ktypes="$ktypes ecdsa-256" ;; |
18 | ecdsa-sha2-nistp384) ktype="$ktype ecdsa-384" ;; | 20 | ecdsa-sha2-nistp384) ktypes="$ktypes ecdsa-384" ;; |
19 | ecdsa-sha2-nistp521) ktype="$ktype ecdsa-521" ;; | 21 | ecdsa-sha2-nistp521) ktypes="$ktypes ecdsa-521" ;; |
20 | esac | 22 | esac |
21 | done | 23 | done |
22 | 24 | ||