Skip to content

Commit 9752c5c

Browse files
committed
[test] use more bytes to be fips compliant
1 parent abc48e9 commit 9752c5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/test_hmac.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_uninitialized_copy
9393
assert_instance_of OpenSSL::HMAC, uninit.dup
9494
assert_instance_of OpenSSL::HMAC, uninit.clone
9595

96-
h = OpenSSL::HMAC.new('key', 'SHA256')
96+
h = OpenSSL::HMAC.new(@key, 'SHA256')
9797
h.send(:initialize_copy, uninit)
9898
assert_raise(OpenSSL::HMACError) { h.digest }
9999
end

0 commit comments

Comments
 (0)