spdycat: Use TLSv1_client_method

Jetty refuses connection if SSLv23_client_method is used.
This commit is contained in:
Tatsuhiro Tsujikawa 2012-07-13 23:05:24 +09:00
parent 39a2e74392
commit 3fc0e4dd6b
1 changed files with 1 additions and 1 deletions

View File

@ -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;