Commit d58d6c27 authored by Bodo Möller's avatar Bodo Möller
Browse files

Include a timing test that works without RSA.

parent 95fabd2f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ else
fi
ssltest="./ssltest -key $key -cert $cert -c_key $key -c_cert $cert"

if ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key'; then
if ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key' >/dev/null; then
  dsa_cert=YES
else
  dsa_cert=NO
@@ -112,6 +112,9 @@ $ssltest -bio_pair -server_auth -client_auth $CA || exit 1

#############################################################################

echo test tls1 with 1024bit anonymous DH, multiple handshakes
$ssltest -v -bio_pair -tls1 -cipher ADH -dhe1024dsa -num 10 -f -time || exit 1

if ../apps/openssl list-standard-commands | grep '^rsa$' >/dev/null; then
  echo test tls1 with 1024bit RSA, no DHE, multiple handshakes
  ./ssltest -v -bio_pair -tls1 -cert ../apps/server2.pem -no_dhe -num 10 -f -time || exit 1