Skip to content

Commit d742574

Browse files
committed
[test] restore pre 2.3 Ruby compat
1 parent 073bcee commit d742574

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ruby/rsa/test_rsa.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_read_private_key_with_password
106106
def test_RSAPrivateKey_encrypted
107107
rsa1024 = Fixtures.pkey("rsa1024")
108108
# key = abcdef
109-
pem = <<~EOF
109+
pem = <<-EOF
110110
-----BEGIN RSA PRIVATE KEY-----
111111
Proc-Type: 4,ENCRYPTED
112112
DEK-Info: AES-128-CBC,733F5302505B34701FC41F5C0746E4C0
@@ -161,7 +161,7 @@ def test_RSAPublicKey
161161
pp OpenSSL::ASN1.decode(key.to_der) if $DEBUG
162162
assert_equal der, key.to_der
163163

164-
pem = <<~EOF
164+
pem = <<-EOF
165165
-----BEGIN RSA PUBLIC KEY-----
166166
MIGJAoGBAMvCxLDUQKc+1P4+Q6AeFwYDvWfALb+cvzlUEadGoPE6qNWHsLFoo8RF
167167
geyTgE8KQTduu1OE9Zz2SMcRBDu5/1jWtsLPSVrI2ofLLBARUsWanVyki39DeB4u

0 commit comments

Comments
 (0)