Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2023 23:56:28 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dc103686348d - main - unbound: avoid calling deprecated OpenSSL function
Message-ID:  <202305302356.34UNuSwo089146@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=dc103686348d3205733a2c77e7d2ccbff6691022

commit dc103686348d3205733a2c77e7d2ccbff6691022
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-05-30 18:28:44 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-05-30 23:55:55 +0000

    unbound: avoid calling deprecated OpenSSL function
    
    SSL_CTX_set_ecdh_auto is deprecated and has no effect (for reference see
    https://github.com/openssl/openssl/commit/2ecb9f2d18614fb7b7b42830a358b7163ed43221).
    
    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
---
 usr.sbin/unbound/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/unbound/config.h b/usr.sbin/unbound/config.h
index 2068cbfe7295..ef97b01b12ea 100644
--- a/usr.sbin/unbound/config.h
+++ b/usr.sbin/unbound/config.h
@@ -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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305302356.34UNuSwo089146>