> @@ -346,6 +420,11 @@ int verify_callback(int pre_verify_ok, X509_STORE_CTX 
> *ctx) {
>       ssl_methods[TLS_USE_SSLv23_cli - 1] = SSLv23_client_method();
>       ssl_methods[TLS_USE_SSLv23_srv - 1] = SSLv23_server_method();
>       ssl_methods[TLS_USE_SSLv23 - 1] = SSLv23_method();
> +     
> +     ssl_methods[TLS_USE_TLSv1_2_cli - 1] = TLSv1_2_client_method();

Should these be ifdefed in case the OpenSSL version is too old?

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/138/files#r7923384
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to