From nobody Fri Apr 19 23:47:02 2024
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 4VLrsP1xNYz58q0S
	for <bugs@mlmmj.nyi.freebsd.org>; Fri, 19 Apr 2024 23:47:05 +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 4VLrsP0qB8z4W73
	for <bugs@FreeBSD.org>; Fri, 19 Apr 2024 23:47:05 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713570425; a=rsa-sha256; cv=none;
	b=gfSK7icB5p4cWKIN/t1aqo+9ldU3ADCFXT6CCsGWo0Qq2mvJEdizaX0vt2F6xDJb9m3SmB
	0BjImDHVvkt89F9m3QwtN4rzaH3lq10QjoFLg/G4z0zfCsMgL8xq6sm6Lhu+6l/KNNPan0
	00f5kmeppXO1UjDvCYhoHFfUA4Cly7cZZCdpNMkRcGHRUl2t6hDGYA7yB5HyNEgXWuUDin
	AFhloXH6wjGAPhkBjEPo1PmkK8LGFWAdraAaumv+L2bBgOrJt1M/ROKlPfWq3+ZZ0FhwbA
	nrIRlFq2Xl/cAI3wDjvVIz/3c1pFXQmpEr+BBj4pztZyN7kpj2d5PAvmGU8+gg==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1713570425;
	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=bzQrQ6RHjgaauQh7MeTE8iwhLsXXWKd+WXM+MZGNO1c=;
	b=sOfEZUn43bRB7KfW6oenAlye4UOddDdj5JXavX8nJCFHq2pNX3jKYCwNfg/JRyiTtCoQRc
	UEhMHG/mLFq590Mu6a7ALlq7Xfs9Ij5LYKGKBa7H32E6h6QU9bH5JXxCgoxXY/8ggHQTC3
	np4FuS0unszlOO4asN0hJwbja6uK0D9yrv1If34bXz4C8P7VaiTJ1XZfIQOJ26mLF/zUJ6
	1xqRcJotRSL94vfucwb9lbTzbNYr2UmKD/blVifUNplsxe8VT8L7wqysfFOY04K+9KZWaL
	fR+OSjnkik0Vg3vPheQtUWHQh3Zz4VCp1tDWoFYp7sx4zSvZsPUWSSEobBuVLQ==
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 4VLrsP0QTGzDd1
	for <bugs@FreeBSD.org>; Fri, 19 Apr 2024 23:47:05 +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 43JNl4PV023069
	for <bugs@FreeBSD.org>; Fri, 19 Apr 2024 23:47:04 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43JNl4PB023060
	for bugs@FreeBSD.org; Fri, 19 Apr 2024 23:47:04 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 278469] OpenSSL in the base system is being built incorrectly:
 resulting in incorrect built/linked providers (fips, legacy, etc)
Date: Fri, 19 Apr 2024 23:47:02 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: bin
X-Bugzilla-Version: 14.0-RELEASE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Many People
X-Bugzilla-Who: ngie@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: <bug-278469-227@https.bugs.freebsd.org/bugzilla/>
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 <freebsd-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-bugs
List-Help: <mailto:freebsd-bugs+help@freebsd.org>
List-Post: <mailto:freebsd-bugs@freebsd.org>
List-Subscribe: <mailto:freebsd-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-bugs+unsubscribe@freebsd.org>
Sender: owner-freebsd-bugs@FreeBSD.org
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278469

            Bug ID: 278469
           Summary: OpenSSL in the base system is being built incorrectly:
                    resulting in incorrect built/linked providers (fips,
                    legacy, etc)
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

In short...
- There are a variety of objects which are being built with the fips provid=
er
that only apply to the legacy provider.
- A number of non-fips provider sources appear to be incorrectly built with
CFLAGS+=3D -DFIPS_MODULE.

This results in non-deterministic behavior compared to the upstream provided
version of OpenSSL and the equivalent ports versions of OpenSSL.

There are likely more issues; these are the ones that are known at this tim=
e.

This was originally filed with the OpenSSL project as:
https://github.com/openssl/openssl/issues/24202 .

--=20
You are receiving this mail because:
You are the assignee for the bug.=