unbound: avoid calling deprecated OpenSSL function

SSL_CTX_set_ecdh_auto is deprecated and has no effect (for reference see
2ecb9f2d18).

As unbound's config.h is manually maintained just turn off
HAVE_DECL_SSL_CTX_SET_ECDH_AUTO so that the deprecated function won't
be called.

Reviewed by:	ngie
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40341
This commit is contained in:
Ed Maste 2023-05-30 14:28:44 -04:00
parent d6f00fa046
commit dc10368634

View file

@ -165,7 +165,7 @@
/* Define to 1 if you have the declaration of `SSL_CTX_set_ecdh_auto', and to
0 if you don't. */
#define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1
/* #undef HAVE_DECL_SSL_CTX_SET_ECDH_AUTO */
/* Define to 1 if you have the declaration of `strlcat', and to 0 if you
don't. */