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
137137 def test_session_reuse
138138 # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
139139 # 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' )
141141
142142 http = Net ::HTTP . new ( HOST , config ( "port" ) )
143143 http . use_ssl = true
@@ -164,7 +164,7 @@ def test_session_reuse
164164
165165 def test_session_reuse_but_expire
166166 # 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' )
168168
169169 http = Net ::HTTP . new ( HOST , config ( "port" ) )
170170 http . use_ssl = true
You can’t perform that action at this time.
0 commit comments