diff options
Diffstat (limited to 'test/openssl/test_ossl.rb')
-rw-r--r-- | test/openssl/test_ossl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ossl.rb b/test/openssl/test_ossl.rb index f83e8136..e1d86bd4 100644 --- a/test/openssl/test_ossl.rb +++ b/test/openssl/test_ossl.rb @@ -12,7 +12,7 @@ class OpenSSL::OSSL < OpenSSL::SSLTestCase assert OpenSSL.fixed_length_secure_compare("aaa", "aaa") assert OpenSSL.fixed_length_secure_compare( - OpenSSL::Digest::SHA256.digest("aaa"), OpenSSL::Digest::SHA256.digest("aaa") + OpenSSL::Digest.digest('SHA256', "aaa"), OpenSSL::Digest::SHA256.digest("aaa") ) assert_raise(ArgumentError) { OpenSSL.fixed_length_secure_compare("aaa", "aaaa") } |