aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-03-13 19:35:37 +0000
committerBodo Möller <bodo@openssl.org>2000-03-13 19:35:37 +0000
commit95fabd2fbc70711c2475f3ea768b719c96eaa7ce (patch)
tree75951d4c90ebbf6e0d232d14e25735f9a9ffdb87 /test
parent7d2509b6df55006bd75ded63879bb46922088aab (diff)
downloadopenssl-95fabd2fbc70711c2475f3ea768b719c96eaa7ce.tar.gz
Corrections.
In testss, use MD5 as digest algorithm so that the resulting certificates can be used for testssl with RSA.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.ssl2
-rw-r--r--test/testss2
-rw-r--r--test/testssl2
3 files changed, 3 insertions, 3 deletions
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