File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def test_post
137
137
def test_session_reuse
138
138
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
139
139
# See https://github.com/openssl/openssl/pull/5967 for details.
140
- omit if OpenSSL ::OPENSSL_LIBRARY_VERSION =~ / OpenSSL 1.1.0h/
140
+ omit if OpenSSL ::OPENSSL_LIBRARY_VERSION . include? ( ' OpenSSL 1.1.0h' )
141
141
142
142
http = Net ::HTTP . new ( HOST , config ( "port" ) )
143
143
http . use_ssl = true
@@ -164,7 +164,7 @@ def test_session_reuse
164
164
165
165
def test_session_reuse_but_expire
166
166
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
167
- omit if OpenSSL ::OPENSSL_LIBRARY_VERSION =~ / OpenSSL 1.1.0h/
167
+ omit if OpenSSL ::OPENSSL_LIBRARY_VERSION . include? ( ' OpenSSL 1.1.0h' )
168
168
169
169
http = Net ::HTTP . new ( HOST , config ( "port" ) )
170
170
http . use_ssl = true
You can’t perform that action at this time.
0 commit comments