diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-11 16:30:30 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-20 19:07:03 +0900 |
commit | 46995816392a79d037df5550b2fb226652c06f42 (patch) | |
tree | 2366eca5a8a0b0aa03348caf09832b786f5ce409 | |
parent | 6a60c7b2e7b6afe8b8c98d864ef2740094d86e1d (diff) | |
download | ruby-openssl-46995816392a79d037df5550b2fb226652c06f42.tar.gz |
hmac: skip test_dup on OpenSSL 3.0 for now
EVP_MD_CTX_copy() doesn't seem to work as intended on HMAC EVP_MD_CTX
on OpenSSL 3.0.0 and causes a double free. I haven't found the root
problem yet, but let's skip the test case for now.
-rw-r--r-- | test/openssl/test_hmac.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/openssl/test_hmac.rb b/test/openssl/test_hmac.rb index 2f53a813..47cb3718 100644 --- a/test/openssl/test_hmac.rb +++ b/test/openssl/test_hmac.rb @@ -21,6 +21,7 @@ class OpenSSL::TestHMAC < OpenSSL::TestCase end def test_dup + pend "HMAC#initialize_copy is currently broken on OpenSSL 3.0.0" if openssl?(3, 0, 0) h1 = OpenSSL::HMAC.new("KEY", "MD5") h1.update("DATA") h = h1.dup |