aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-13 20:21:56 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-21 00:46:34 +0900
commit0b465f700bef079f74a2427c6a43d67d535f575e (patch)
tree94c4f639093a5e68a494e82e03dd20c9135d8102
parented67a78b01b626fcfe313106ebe2df3951b7c59c (diff)
downloadruby-0b465f700bef079f74a2427c6a43d67d535f575e.tar.gz
test_pair: skip test_ecdh_callback
-rw-r--r--test/openssl/test_pair.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index 60ec1ed451..eafaee2503 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -381,6 +381,9 @@ module OpenSSL::TestPairM
end
def test_ecdh_callback
+ if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000
+ skip "OpenSSL 1.1.0 removed SSL_CTX_set_tmp_ecdh_callback()"
+ end
called = false
ctx2 = OpenSSL::SSL::SSLContext.new
ctx2.ciphers = "ECDH"