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

Corrections.

In testss, use MD5 as digest algorithm so that the resulting
certificates can be used for testssl with RSA.
parent 7d2509b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
#!/bin/sh

digest='-mdc2'
digest='-md5'
reqcmd="../apps/openssl req"
x509cmd="../apps/openssl x509 $digest"
verifycmd="../apps/openssl verify"
+1 −1
Original line number Diff line number Diff line
@@ -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