<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/secure/lib, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-03-22T01:38:49Z</updated>
<entry>
<title>libcrypto: compile all PIC objects with -DOPENSSL_PIC -fPIC</title>
<updated>2026-03-22T01:38:49Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-03-22T00:39:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3797fe720a37ff9fb5b20546494ef1c4a6c01541'/>
<id>urn:sha1:3797fe720a37ff9fb5b20546494ef1c4a6c01541</id>
<content type='text'>
This change modifies the libcrypto PIC objects to always compile with
`-DOPENSSL_PIC -fPIC` to restore parity with the upstream build process.
This ensures that the legacy provider is built with parity to the
upstream legacy provider.

MFC after:              12 days
Tested with:		`make check` (legacy provider), `make universe`
Fixes:			14b9955e
Differential Revision:  https://reviews.freebsd.org/D44896
</content>
</entry>
<entry>
<title>Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC"</title>
<updated>2026-03-20T20:12:26Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-03-20T20:08:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=67b918e03475e780854a43fe4eb7c8e95f4deb29'/>
<id>urn:sha1:67b918e03475e780854a43fe4eb7c8e95f4deb29</id>
<content type='text'>
This commit broke the build with some build options.

Some validation needs to be done to confirm that moving the preprocessor
argument to `secure/lib/libcrypto/Makefile.inc` works without breaking
the build, but revert for now until a `tinderbox` run can be done with
the change.

PR:		293934
Reported by:	Jenkins, Trond Endrestøl

This reverts commit 14b9955e57cc28b61e785165b9effcbe620edb46.
</content>
</entry>
<entry>
<title>libcrypto: compile all PIC objects with -DOPENSSL_PIC</title>
<updated>2026-03-20T00:51:51Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-03-19T23:56:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=14b9955e57cc28b61e785165b9effcbe620edb46'/>
<id>urn:sha1:14b9955e57cc28b61e785165b9effcbe620edb46</id>
<content type='text'>
This change modifies the libcrypto PIC objects to always compile with
`-DOPENSSL_PIC` to restore parity with the upstream build process. This
ensures that `-DOPENSSL_PIC` is used whenever building the auxiliary
shared objects. In this case, just the legacy provider (we no longer
distribute the fips provider).

MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D44896
</content>
</entry>
<entry>
<title>OpenSSL: install EVP_CIPHER_CTX_get_app_data.3 once</title>
<updated>2026-02-17T18:24:29Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2026-02-17T18:24:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c4130a8a84e1ce0fc9c05d2b48f83e66ade302aa'/>
<id>urn:sha1:c4130a8a84e1ce0fc9c05d2b48f83e66ade302aa</id>
<content type='text'>
A separate EVP_CIPHER_CTX_get_app_data.3 was added in the OpenSSL 3.5.5
import, but the link to EVP_EncryptInit.3 was still being installed
which stomped on the file and created inconsistent entries in the METALOG.

Reviewed by:	emaste
Found by:	package_check script in Cirrus-CI
Fixes:		1731fc70f734 ("OpenSSL: update vendor sources to match 3.5.5 content")
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D55332
</content>
</entry>
<entry>
<title>OpenSSL: update vendor sources to match 3.5.5 content</title>
<updated>2026-01-31T22:07:17Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-01-31T22:06:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1731fc70f7344af08db49b06c63c963fa12ee354'/>
<id>urn:sha1:1731fc70f7344af08db49b06c63c963fa12ee354</id>
<content type='text'>
MFC with:	f25b8c9fb4f58cf61adb47d7570abe7caa6d385d
MFC after:	1 week
</content>
</entry>
<entry>
<title>libcrypto: Install tests in the tests package</title>
<updated>2025-11-05T21:17:31Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-11-05T21:17:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3b853fe522ead976863af086557be8863327eb0'/>
<id>urn:sha1:c3b853fe522ead976863af086557be8863327eb0</id>
<content type='text'>
libcrypto's Makefile.inc used PACKAGE=openssl, which overrides the
PACKAGE=tests in libcrypto/tests/Makefile.  Use PACKAGE?=openssl
instead to avoid this.  This puts the OpenSSL tests in the tests
package where they belong.

MFC after:	1 day
Reviewed by:	manu, ngie
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53595
</content>
</entry>
<entry>
<title>OpenSSL: install .pc files from the exporters subdir</title>
<updated>2025-10-17T06:42:13Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2025-10-11T20:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=97388e7215e080f2cb9fd446f4be4e46a9aeb114'/>
<id>urn:sha1:97388e7215e080f2cb9fd446f4be4e46a9aeb114</id>
<content type='text'>
The .pc files generated in the root directory are used as part of the
build; they should never be installed. Use the versions from the
exporters subdirectory--which should be installed--as the .pc files
which are distributed with FreeBSD. This avoids the need for "fixing up"
these files after the fact (see `crypto/openssl/BSDmakefile` for more
details as part of this change).

Garbage collect `secure/lib/libcrypto/Makefile.version`, et al,
as they're orphaned files. They were technically unused prior to this
change as the vendor process properly embeds the version numbers in
various files, but this commit formalizes the removal.

This correction/clarification on the .pc files will be made in an
upcoming release of OpenSSL [1].

References:
1. https://github.com/openssl/openssl/issues/28803

Suggested by:	Richard Levitte (OpenSSL project)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D53043
</content>
</entry>
<entry>
<title>openssl: add a simple smoke test for the legacy provider</title>
<updated>2025-10-17T06:36:15Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2025-10-11T20:45:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b6442370a17c57c4c290b9a8e1e8328da820705'/>
<id>urn:sha1:3b6442370a17c57c4c290b9a8e1e8328da820705</id>
<content type='text'>
This change adds a simple smoke test for the legacy provider to ensure
that the provider doesn't break in the future when performing updates.

This is not a functional or system test; the OpenSSL test suite does a
much better job at doing this than we can.

MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D53045
</content>
</entry>
<entry>
<title>libpkgecc: Remove -ffreestanding</title>
<updated>2025-10-08T03:23:32Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-10-08T03:23:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=349f4fd3827e085c1aa8572e7e5276a642077c48'/>
<id>urn:sha1:349f4fd3827e085c1aa8572e7e5276a642077c48</id>
<content type='text'>
This incorporates pkg(8) commit a31c8c3682a3 for consistency.

https://github.com/freebsd/pkg/commit/a31c8c3682a3

MFC after:	1 day
Reviewed by:	kevans
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52920
</content>
</entry>
<entry>
<title>crypto/openssl: update generated files to match 3.5.4 artifacts</title>
<updated>2025-10-07T23:14:13Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2025-10-07T23:14:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4033e6d37747f5213bb245c8e605406703a8766'/>
<id>urn:sha1:d4033e6d37747f5213bb245c8e605406703a8766</id>
<content type='text'>
MFC with:	046c625e9382
Fixes:		046c625e9382 ("crypto/openssl: update to 3.5.4")
Reported by:	Herbert J. Skuhra &lt;herbert@gojira.at&gt;
</content>
</entry>
</feed>
