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
1010 dh = OpenSSL ::PKey ::DH . new
1111 assert_equal nil , dh . p
1212 assert_equal nil , dh . priv_key
13- end
13+ end if ! openssl? ( 3 , 0 , 0 )
1414
1515 def test_new_generate
1616 # This test is slow
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def test_verify_empty_rsa
172172 assert_raise ( OpenSSL ::PKey ::PKeyError , "[Bug #12783]" ) {
173173 rsa . verify ( "SHA1" , "a" , "b" )
174174 }
175- end
175+ end if ! openssl? ( 3 , 0 , 0 )
176176
177177 def test_sign_verify_pss
178178 key = Fixtures . pkey ( "rsa1024" )
@@ -395,7 +395,7 @@ def test_RSAPublicKey
395395 EOF
396396 key = OpenSSL ::PKey ::RSA . new ( pem )
397397 assert_same_rsa rsa1024pub , key
398- end
398+ end if ! openssl? ( 3 , 0 , 0 ) # RSAPublicKey is not available on OpenSSL 3.0
399399
400400 def test_PUBKEY
401401 rsa1024 = Fixtures . pkey ( "rsa1024" )
You can’t perform that action at this time.
0 commit comments