From: Bodo Möller Date: Mon, 13 Mar 2000 19:35:37 +0000 (+0000) Subject: Corrections. X-Git-Tag: OpenSSL_0_9_5a-beta1~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95fabd2fbc70711c2475f3ea768b719c96eaa7ce;p=oweals%2Fopenssl.git Corrections. In testss, use MD5 as digest algorithm so that the resulting certificates can be used for testssl with RSA. --- diff --git a/test/Makefile.ssl b/test/Makefile.ssl index 02945de5f9..8cd3be0eaa 100644 --- a/test/Makefile.ssl +++ b/test/Makefile.ssl @@ -206,7 +206,7 @@ test_gen: @echo "Generate and verify a certificate request" @sh ./testgen -test_ss keyU.ss certU.ss certCA.ss: +test_ss keyU.ss certU.ss certCA.ss: testss @echo "Generate and certify a test certificate" @sh ./testss diff --git a/test/testss b/test/testss index fc27c83fa7..bcc4f5295e 100644 --- a/test/testss +++ b/test/testss @@ -1,6 +1,6 @@ #!/bin/sh -digest='-mdc2' +digest='-md5' reqcmd="../apps/openssl req" x509cmd="../apps/openssl x509 $digest" verifycmd="../apps/openssl verify" diff --git a/test/testssl b/test/testssl index 413a14e4cb..9fc9bb2de7 100644 --- a/test/testssl +++ b/test/testssl @@ -10,7 +10,7 @@ if [ "$2" = "" ]; then else cert="$2" fi -ssltest="./ssltest -key $1 -cert $2 -c_key $1 -c_cert $2" +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 dsa_cert=YES