diff --git a/common/ssl_calls.c b/common/ssl_calls.c index b5b9237a..bd2181c0 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -592,6 +592,9 @@ ssl_tls_accept(struct ssl_tls *self, long ssl_protocols, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER | SSL_MODE_ENABLE_PARTIAL_WRITE); SSL_CTX_set_options(self->ctx, options); +#if defined(SSL_CTX_set_ecdh_auto) + SSL_CTX_set_ecdh_auto(self->ctx, 1); +#endif if (g_strlen(tls_ciphers) > 1) {