diff --git a/ptstream.c b/ptstream.c index 4c87c80..6d55137 100644 --- a/ptstream.c +++ b/ptstream.c @@ -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);