mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* test/openssl/test_pair.rb: skipped tests if openssl doesn't support
ECDH cipher. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bd362b70ba
commit
a8438d3033
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue