mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[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:
parent
1c709970f4
commit
bf244356ea
@ -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 = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user