mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
spdycat: Use TLSv1_client_method
Jetty refuses connection if SSLv23_client_method is used.
This commit is contained in:
@@ -448,7 +448,7 @@ int communicate(const std::string& host, uint16_t port,
|
||||
return -1;
|
||||
}
|
||||
SSL_CTX *ssl_ctx;
|
||||
ssl_ctx = SSL_CTX_new(SSLv23_client_method());
|
||||
ssl_ctx = SSL_CTX_new(TLSv1_client_method());
|
||||
if(!ssl_ctx) {
|
||||
std::cerr << ERR_error_string(ERR_get_error(), 0) << std::endl;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user