diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2018-08-06 20:51:42 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2018-08-06 20:51:42 +0900 |
commit | 6fcc6c0efc42d1c6325cf4bb0ca16e2a448cdbed (patch) | |
tree | e34d3f2d984e712e3dfb91b563da1a049f5c677b /test/test_ssl_session.rb | |
parent | 13dc364810e28edc1268cfbadd873fb6eed66209 (diff) | |
download | ruby-openssl-6fcc6c0efc42d1c6325cf4bb0ca16e2a448cdbed.tar.gz |
test/test_ssl: fix test failure with TLS 1.3ky/openssl-1.1.1-part2
SSL_connect() on the client side may return before SSL_accept() on
server side returns. This will fix test failures with OpenSSL's current
master.
Diffstat (limited to 'test/test_ssl_session.rb')
-rw-r--r-- | test/test_ssl_session.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_ssl_session.rb b/test/test_ssl_session.rb index 6db0c2d1..78b160ed 100644 --- a/test/test_ssl_session.rb +++ b/test/test_ssl_session.rb @@ -113,6 +113,7 @@ __EOS__ non_resumable = nil start_server { |port| server_connect_with_session(port, nil, nil) { |ssl| + ssl.puts "abc"; assert_equal "abc\n", ssl.gets non_resumable = ssl.session } } |