diff options
author | Jarek Prokop <jprokop@redhat.com> | 2022-09-09 15:22:31 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-10-18 16:33:15 +0900 |
commit | b7debaa8015c7a3dba832954ecc93334f6853f37 (patch) | |
tree | 1f18e9f35c2ad19be80b6d8e68c4334793995c9b /test/rubygems | |
parent | cbddc913d94dde97714eeab1eac8570ff6674201 (diff) | |
download | ruby-b7debaa8015c7a3dba832954ecc93334f6853f37.tar.gz |
[rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signature algorithm.
https://github.com/rubygems/rubygems/commit/e2d533591c
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_security.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_security.rb b/test/rubygems/test_gem_security.rb index 518a508c86..0aecccdb27 100644 --- a/test/rubygems/test_gem_security.rb +++ b/test/rubygems/test_gem_security.rb @@ -151,7 +151,7 @@ class TestGemSecurity < Gem::TestCase end def test_class_re_sign - assert_equal "sha1WithRSAEncryption", EXPIRED_CERT.signature_algorithm + assert_equal "sha256WithRSAEncryption", EXPIRED_CERT.signature_algorithm re_signed = Gem::Security.re_sign EXPIRED_CERT, PRIVATE_KEY, 60 assert_in_delta Time.now, re_signed.not_before, 10 |