Skip to content

Commit 689fc27

Browse files
committed
asn1: update keys used in tests
Use generic keys whenever possible.
1 parent 3f31054 commit 689fc27

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Rake::TestTask.new(:test_fips_internal) do |t|
2626
# Exclude failing test files in FIPS for this task to pass.
2727
# TODO: Fix failing test files.
2828
t.test_files = FileList['test/**/test_*.rb'] - FileList[
29-
'test/openssl/test_asn1.rb',
3029
'test/openssl/test_cipher.rb',
3130
'test/openssl/test_digest.rb',
3231
'test/openssl/test_hmac.rb',

test/openssl/test_asn1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class OpenSSL::TestASN1 < OpenSSL::TestCase
77
def test_decode_x509_certificate
88
subj = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=TestCA")
9-
key = Fixtures.pkey("rsa1024")
9+
key = Fixtures.pkey("rsa-1")
1010
now = Time.at(Time.now.to_i) # suppress usec
1111
s = 0xdeadbeafdeadbeafdeadbeafdeadbeaf
1212
exts = [

0 commit comments

Comments
 (0)