[ruby/openssl] asn1: update keys used in tests

Use generic keys whenever possible.

https://github.com/ruby/openssl/commit/689fc271b1
This commit is contained in:
Kazuki Yamaguchi 2025-10-18 01:52:15 +09:00 committed by git
parent 1c709970f4
commit bf244356ea

View File

@ -6,7 +6,7 @@ if defined?(OpenSSL)
class OpenSSL::TestASN1 < OpenSSL::TestCase
def test_decode_x509_certificate
subj = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=TestCA")
key = Fixtures.pkey("rsa1024")
key = Fixtures.pkey("rsa-1")
now = Time.at(Time.now.to_i) # suppress usec
s = 0xdeadbeafdeadbeafdeadbeafdeadbeaf
exts = [