as per https://www.openssl.org/docs/man3.1/man3/TLS_method.html
* so will free the allocated object last, after doing manual cleanups.
*
@code{.c}
- FR_OPENSSL_BIND_MEMORY(ctx = SSL_CTX_new(SSLv23_method()));
+ FR_OPENSSL_BIND_MEMORY(ctx = SSL_CTX_new(TLS_method()));
if (!ctx) ..error
@endcode
* @param _expr The call to the OpenSSL function and storage of the
int verify_mode = SSL_VERIFY_NONE;
int ctx_options = 0;
- ctx = SSL_CTX_new(SSLv23_method());
+ ctx = SSL_CTX_new(TLS_method());
if (!ctx) {
fr_tls_log(NULL, "Failed creating TLS context");
return NULL;