From nobody Sat Jun 24 18:39:20 2023 X-Original-To: ports-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 4QpNDm6QRLz4h5vR for ; Sat, 24 Jun 2023 18:39:20 +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 4QpNDm4kVjz45FG for ; Sat, 24 Jun 2023 18:39:20 +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=1687631960; 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=M1F05ehkYirW0BZlKTrY8yRKiyLViYd+94KJgIGDnuo=; b=JUoHG2eJD+mCldUFICCVelVMn+rMinfyNTN/ximGY6H28lnbPEWYy816NGAGv6PXJrSHNi yMMowNlZ32PQSeK2ampACoc3zBNMnCFlJhXrBUFFawfzkExxHLReyHE1X5wQs0IlF2CSIv uJfvR2S1pboY9+6jI31SN89qVVp5cFR7SkD3pt/Wyzq1BphKdVMCkcga2tTge+rOcnNhNd ygmudLS2OAp2uhRAG//gxlitbxvAKFNW9XHX5fDOU+yYWuyh6dcNhgKhYKzETfR2/xz6UG 9BpB7CyiboO6M0pTrLFlz+8bb/n+wyvKHDFrdXZRVRFRlhSo/mNm4rFLZuY6Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687631960; a=rsa-sha256; cv=none; b=HMIYVyEzN2dFxN6knDwUpCFELWDSt6PUI766b887au5aehOLET1Y8ltMLJJnxrDD9zNTv8 ZJ/SF1RrdbMwAo8d3uX9l+K3Y6Fgv6X9sAEtVUkxaceTD+se0/GjWzCkbCac0rA2rwI90/ EmdjS/VT01FiCNYbLYbYrD7E0vp6reExgntnT/WjJJnBRrGnQLoqFliVnC+cuJsuTRgoYD JwNVEnGPgsIkCtkCwb/KXYYBure+wvhEDJvFosqsBlfxII8fiP7o1nroWhMawAWKoJIedl eR28cDu0ZnW+FIOXS4ouT0h1agUjMcGidhaHNhwY3afickPspqi+/rbaSlLh+A== 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 4QpNDm3WFxzwhD for ; Sat, 24 Jun 2023 18:39:20 +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 35OIdKCA011646 for ; Sat, 24 Jun 2023 18:39:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35OIdKtl011645 for ports-bugs@FreeBSD.org; Sat, 24 Jun 2023 18:39:20 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: ports-bugs@FreeBSD.org Subject: [Bug 272190] security/pkcs11-helper: make OpenSSL 3.0 compatible Date: Sat, 24 Jun 2023 18:39:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mandree@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272190 Bug ID: 272190 Summary: security/pkcs11-helper: make OpenSSL 3.0 compatible Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-qa, patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: mandree@FreeBSD.org CC: gert@greenie.muc.de Assignee: ale@FreeBSD.org Flags: maintainer-feedback?(ale@FreeBSD.org) Created attachment 242975 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242975&action= =3Dedit git format-patch like patch to let pkcs11-helper compile with LLVM16 and OpenSSL3.0 - run-time untested! OpenSSL 3.0 changed the prototype for the dup_func of the customer data callback functions, the third argument (from_d) switched from void * to void **. See https://www.openssl.org/docs/man3.0/man3/CRYPTO_get_ex_new_index.html This breaks compile on FreeBSD-CURRENT, which uses OpenSSL 3.0.9 in base, a= nd also uses the stricter LLVM/clang 16.0.6. Add an OPENSSL_VERSION_SWITCH to support the newer OpenSSL >=3D 3.0 prototype. This could go with an Approved by: portmgr@ (blanket just-fix-it) ... but I cannot test the run-time myself, so I am looking for ale@'s or somebody else's support to test. --=20 You are receiving this mail because: You are the assignee for the bug.=