File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def test_new_empty
10
10
dh = OpenSSL ::PKey ::DH . new
11
11
assert_equal nil , dh . p
12
12
assert_equal nil , dh . priv_key
13
- end
13
+ end if ! openssl? ( 3 , 0 , 0 )
14
14
15
15
def test_new_generate
16
16
# This test is slow
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def test_verify_empty_rsa
167
167
assert_raise ( OpenSSL ::PKey ::PKeyError , "[Bug #12783]" ) {
168
168
rsa . verify ( "SHA1" , "a" , "b" )
169
169
}
170
- end
170
+ end if ! openssl? ( 3 , 0 , 0 )
171
171
172
172
def test_sign_verify_pss
173
173
key = Fixtures . pkey ( "rsa1024" )
@@ -390,7 +390,7 @@ def test_RSAPublicKey
390
390
EOF
391
391
key = OpenSSL ::PKey ::RSA . new ( pem )
392
392
assert_same_rsa rsa1024pub , key
393
- end
393
+ end if ! openssl? ( 3 , 0 , 0 ) # RSAPublicKey is not available on OpenSSL 3.0
394
394
395
395
def test_PUBKEY
396
396
rsa1024 = Fixtures . pkey ( "rsa1024" )
You can’t perform that action at this time.
0 commit comments