ports/security/openssl-ruby-tests/patches/patch-test_openssl_test_ssl_rb

19 lines
533 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Remove a pend that hides missing support for SSL_CTX_set_client_cert_cb()
in the TLSv1.3 stack.
Index: test/openssl/test_ssl.rb
--- test/openssl/test_ssl.rb.orig
+++ test/openssl/test_ssl.rb
@@ -352,8 +352,9 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
end
def test_client_ca
- pend "LibreSSL 3.2 has broken client CA support" if libressl?(3, 2, 0)
-
+ if ENV['SKIP_EXPECTED_FAILURES']
+ pend "skip failing client CA test"
+ end
ctx_proc = Proc.new do |ctx|
ctx.client_ca = [@ca_cert]
end