This is apparently needed to pass tests with a newer version of
OpenSSL found in Debian 9
---
test/test_ssl.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index 92be542..7909094 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -41,6 +41,7 @@ def teardown
def ssl_client(host, port)
ctx = OpenSSL::SSL::SSLContext.new
ctx.ciphers = "ADH"
+ ctx.security_level = 0
s = TCPSocket.new(host, port)
ssl = OpenSSL::SSL::SSLSocket.new(s, ctx)
ssl.connect
@@ -51,6 +52,7 @@ def ssl_client(host, port)
def srv_ctx
ctx = OpenSSL::SSL::SSLContext.new
ctx.ciphers = "ADH"
+ ctx.security_level = 0
ctx.tmp_dh_callback = proc { TEST_KEY_DH1024 }
ctx
end
--
EW
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/