-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
In b7c18e7 we added test support for LibreSSL, however I'm seeing 2 test failures:
Error: test_digest_constants(OpenSSL::TestDigest)
: RuntimeError: Unsupported digest algorithm (SHA).
/home/openssl/code/test/test_digest.rb:65:in `initialize'
/home/openssl/code/test/test_digest.rb:65:in `new'
/home/openssl/code/test/test_digest.rb:65:in `block in test_digest_constants'
62: algs += %w(SHA224 SHA256 SHA384 SHA512)
63: end
64: algs.each do |alg|
=> 65: assert_not_nil(OpenSSL::Digest.new(alg))
66: klass = OpenSSL::Digest.const_get(alg)
67: assert_not_nil(klass.new)
68: end
/home/openssl/code/test/test_digest.rb:64:in `each'
/home/openssl/code/test/test_digest.rb:64:in `test_digest_constants'
This is the first error from the build.
Next:
Error: test_openssl_engine_digest_sha1(OpenSSL::TestEngine)
: OpenSSL::Engine::EngineError: unimplemented digest
/home/openssl/code/test/test_engine.rb:37:in `digest'
/home/openssl/code/test/test_engine.rb:37:in `test_openssl_engine_digest_sha1'
34:
35: def test_openssl_engine_digest_sha1
36: engine = get_engine
=> 37: digest = engine.digest("SHA1")
38: assert_not_nil(digest)
39: data = "test"
40: assert_equal(OpenSSL::Digest::SHA1.digest(data), digest.digest(data))
Found here.
I'd like to resolve these and merge #36.
Metadata
Metadata
Assignees
Labels
No labels