SSL_CTX *old_ctx = NULL;
SSL_CTX *new_ctx = NULL;
- const SSL_METHOD *method = TLS_server_method();
+ const SSL_METHOD *method = SSLv23_server_method();
if (!method) {
syslog(LOG_ERR, "crypto: TLS_server_method() failed: %s", ERR_reason_error_string(ERR_get_error()));
return;