Feature #2022 » 0003-test-openssl-drop-the-test-of-assuming-too-cool-guess.patch
test/openssl/test_x509cert.rb | ||
---|---|---|
cert = issue_cert(@ca, @dsa512, 1, Time.now, Time.now+3600, [],
|
||
nil, nil, OpenSSL::Digest::MD5.new)
|
||
}
|
||
assert_raise(OpenSSL::X509::CertificateError){
|
||
cert = issue_cert(@ca, @dsa512, 1, Time.now, Time.now+3600, [],
|
||
nil, nil, OpenSSL::Digest::SHA1.new)
|
||
}
|
||
end
|
||
|
||
private
|
test/openssl/test_x509req.rb | ||
---|---|---|
assert_raise(OpenSSL::X509::RequestError){
|
||
issue_csr(0, @dn, @rsa1024, OpenSSL::Digest::DSS1.new) }
|
||
assert_raise(OpenSSL::X509::RequestError){
|
||
issue_csr(0, @dn, @dsa512, OpenSSL::Digest::SHA1.new) }
|
||
assert_raise(OpenSSL::X509::RequestError){
|
||
issue_csr(0, @dn, @dsa512, OpenSSL::Digest::MD5.new) }
|
||
end
|
||
|
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »