summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--regress/keytype.sh10
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e22ac3cd4..3fd51a6bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120131110
2 - (dtucker) [regress/keytype.sh] Populate ECDSA key types to be tested by
3 querying the ones that are compiled in.
4
120131109 520131109
2 - (dtucker) OpenBSD CVS Sync 6 - (dtucker) OpenBSD CVS Sync
3 - dtucker@cvs.openbsd.org 2013/11/09 05:41:34 7 - dtucker@cvs.openbsd.org 2013/11/09 05:41:34
diff --git a/regress/keytype.sh b/regress/keytype.sh
index 59586bf0d..65436b2c0 100644
--- a/regress/keytype.sh
+++ b/regress/keytype.sh
@@ -12,9 +12,13 @@ cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
12cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak 12cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak
13 13
14ktypes="dsa-1024 rsa-2048 rsa-3072" 14ktypes="dsa-1024 rsa-2048 rsa-3072"
15if test "$TEST_SSH_ECC" = "yes"; then 15for i in `$SSH -Q key`; do
16 ktypes="$ktypes ecdsa-256 ecdsa-384 ecdsa-521" 16 case "$i" in
17fi 17 ecdsa-sha2-nistp256) ktype="$ktype ecdsa-256" ;;
18 ecdsa-sha2-nistp384) ktype="$ktype ecdsa-384" ;;
19 ecdsa-sha2-nistp521) ktype="$ktype ecdsa-521" ;;
20 esac
21done
18 22
19for kt in $ktypes; do 23for kt in $ktypes; do
20 rm -f $OBJ/key.$kt 24 rm -f $OBJ/key.$kt