Allow TLS

This commit is contained in:
wicher 2015-04-26 13:07:13 +02:00
parent 0f749191d1
commit 2a26224b5f

View file

@ -151,7 +151,7 @@ int stream_enable_ssl(PTSTREAM *pts) {
/* Initialise the connection */
SSLeay_add_ssl_algorithms();
meth = SSLv3_client_method();
meth = SSLv23_client_method();
SSL_load_error_strings();
ctx = SSL_CTX_new (meth);