From nobody Tue May 30 18:36:22 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QW1Lv0ds1z4Xxrm for ; Tue, 30 May 2023 18:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QW1Lt41Zsz3w8K for ; Tue, 30 May 2023 18:36:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685471782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dR4WoJbZSReKk2BOw05q3CTKZ5pncMR15f5r2X/WmV8=; b=S1DI+QnQ6NDTy2AYXKgIfRH22EVOHuv3Zp0oDmUFqzPFvz/eyaZK82fykUJucyoyp5A2Cf T33jcWQYDi9nxgv3MyC5zozmjSAd10vB8+qRQ3oBJTxTP6m/F5m1LdPwYfUFquNKM5FcrX +1xx8e5781wH3kDdg0m/30JxArnCIV2w84KKXy/kb0akUerhF4D4sx647dum/oaAZvgNm5 dJ/3zP5CHZVgtCzeAwP/897fXsEokM1RNzuO3m8W5AsS5BaVmkmJkHJ0l8dKJ5NADTBzVE w5hrddgplXD9rQSo5h0o+QiaACRiGxGvs4QZg42QW06MSlGFx9QssFCksFUzHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685471782; a=rsa-sha256; cv=none; b=xsp1DlbofFc66ONuQ2BPKGgu5A4ds0EqIToFKrOz+1jB0eNend6i26K5t/gCz6pOoiGuBb v2LkThnoiFwGmTkwwxZOWoAZ+RbYFt7T7L9O84nKNRFonRpjvR3EsuoVD/cxMQyi7Eacqd /CLCXH5iDm+XzBGOo2F8hN5wpvxkw4p1HAW8ujvigHqdgpFBGLaf2O/rZwRyfnChFK6hsz VkU/1JoV1y9ylWDjjq3WLmG4yzByO6f//dS3VEiYpMzN+pyNtP6sbPoXUwZTODBvKTvx9B YAtJa1oFX9DFchUAwWUvmR7ldFPZU2Wo9lDEjjPvpduh+srnF27/lx9RnEOKuw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QW1Lt34YWz141w for ; Tue, 30 May 2023 18:36:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34UIaMBm064952 for ; Tue, 30 May 2023 18:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34UIaMtH064951 for bugs@FreeBSD.org; Tue, 30 May 2023 18:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271728] libunbound uses deprecated SSL_CTX_set_ecdh_auto Date: Tue, 30 May 2023 18:36:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271728 Bug ID: 271728 Summary: libunbound uses deprecated SSL_CTX_set_ecdh_auto Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org When attempting to build libunbound with CFLAGS+=3D-DOPENSSL_API_COMPAT=3D0x10100000L as part of OpenSSL 3.0 update testing produced this error: /tmp/cirrus-ci-build/contrib/unbound/util/net_help.c:1035:6: error: call to undeclared function 'SSL_CTX_set_ecdh_auto'; ISO C99 and later do not suppo= rt implicit function declarations [-Werror,-Wimplicit-function-declaration] if(!SSL_CTX_set_ecdh_auto(ctx,1)) { ^ /tmp/cirrus-ci-build/contrib/unbound/util/net_help.c:1035:6: note: did you = mean 'SSL_CTX_set_ex_data'? /usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp/usr/include/openssl/ssl.h:2037= :12: note: 'SSL_CTX_set_ex_data' declared here __owur int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data); ^ 1 error generated. make[3]: stopped in /tmp/cirrus-ci-build There is a config.h HAVE_DECL_SSL_CTX_SET_ECDH_AUTO #define that gets set (because the function does in fact exist), but as we maintain config.h manu= ally I think we can just turn it off. --=20 You are receiving this mail because: You are the assignee for the bug.=