diff --git a/common/ssl_calls.c b/common/ssl_calls.c index d1003b8a..f86dc063 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -720,7 +720,10 @@ ssl_tls_accept(struct ssl_tls *self, long ssl_protocols, DH_free(dh); // ok to free, copied into ctx by SSL_CTX_set_tmp_dh() #if defined(SSL_CTX_set_ecdh_auto) - SSL_CTX_set_ecdh_auto(self->ctx, 1); + if(!SSL_CTX_set_ecdh_auto(self->ctx, 1)) + { + LOG(LOG_LEVEL_WARNING, "TLS ecdh auto failed to be enabled"); + } #endif if (g_strlen(tls_ciphers) > 1)