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

Use generic keys whenever possible.

https://github.com/ruby/openssl/commit/ef4fa5e9b4
This commit is contained in:
Kazuki Yamaguchi 2025-10-18 01:52:43 +09:00 committed by git
parent bf244356ea
commit 709aa7284b

View File

@ -17,8 +17,8 @@ class OpenSSL::TestNSSPI < OpenSSL::TestCase
end
def test_build_data
key1 = Fixtures.pkey("rsa1024")
key2 = Fixtures.pkey("rsa2048")
key1 = Fixtures.pkey("rsa-1")
key2 = Fixtures.pkey("rsa-2")
spki = OpenSSL::Netscape::SPKI.new
spki.challenge = "RandomString"
spki.public_key = key1.public_key