diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-09-08 22:02:02 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-09-08 22:37:11 +0900 |
commit | a09d8c78dd30482b6422ad1aea5b802cf879fa98 (patch) | |
tree | aab3276260729affe61acefddb7f0c87b995385c /test | |
parent | d7984397f8fa6afc836175cc5ce1ca17ddeb630e (diff) | |
download | ruby-openssl-a09d8c78dd30482b6422ad1aea5b802cf879fa98.tar.gz |
test/test_ssl: suppress warning in test_alpn_protocol_selection_cancel
Suppress "using default DH parameters" message.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ssl.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb index 46509f5e..e6368943 100644 --- a/test/test_ssl.rb +++ b/test/test_ssl.rb @@ -884,6 +884,7 @@ if openssl?(1, 0, 2) || libressl? ctx1 = OpenSSL::SSL::SSLContext.new ctx1.cert = @svr_cert ctx1.key = @svr_key + ctx1.tmp_dh_callback = proc { Fixtures.pkey_dh("dh1024") } ctx1.alpn_select_cb = -> (protocols) { nil } ssl1 = OpenSSL::SSL::SSLSocket.new(sock1, ctx1) |