提交 95fabd2f 编写于 作者: B Bodo Möller

Corrections.

In testss, use MD5 as digest algorithm so that the resulting
certificates can be used for testssl with RSA.
上级 7d2509b6
......@@ -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
......
#!/bin/sh
digest='-mdc2'
digest='-md5'
reqcmd="../apps/openssl req"
x509cmd="../apps/openssl x509 $digest"
verifycmd="../apps/openssl verify"
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册