diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/openssl/test_pair.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index 977d11a259..932426572f 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/test_pair.rb @@ -372,6 +372,12 @@ module OpenSSL::TestPairM accepted = s2.accept assert called, 'ecdh callback should be called' + rescue OpenSSL::SSL::SSLError => e + if e.message =~ /no cipher match/ + skip "ECDH cipher not supported." + else + raise e + end ensure th.join if th s1.close if s1 |