- (dtucker) [regress/keytype.sh] Populate ECDSA key types to be tested by
querying the ones that are compiled in.
This commit is contained in:
parent
2c89430119
commit
b6a75b0b93
|
@ -1,3 +1,7 @@
|
|||
20131110
|
||||
- (dtucker) [regress/keytype.sh] Populate ECDSA key types to be tested by
|
||||
querying the ones that are compiled in.
|
||||
|
||||
20131109
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
- dtucker@cvs.openbsd.org 2013/11/09 05:41:34
|
||||
|
|
|
@ -12,9 +12,13 @@ cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
|
|||
cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak
|
||||
|
||||
ktypes="dsa-1024 rsa-2048 rsa-3072"
|
||||
if test "$TEST_SSH_ECC" = "yes"; then
|
||||
ktypes="$ktypes ecdsa-256 ecdsa-384 ecdsa-521"
|
||||
fi
|
||||
for i in `$SSH -Q key`; do
|
||||
case "$i" in
|
||||
ecdsa-sha2-nistp256) ktype="$ktype ecdsa-256" ;;
|
||||
ecdsa-sha2-nistp384) ktype="$ktype ecdsa-384" ;;
|
||||
ecdsa-sha2-nistp521) ktype="$ktype ecdsa-521" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
for kt in $ktypes; do
|
||||
rm -f $OBJ/key.$kt
|
||||
|
|
Loading…
Reference in New Issue