Page MenuHomeFreeBSD

Makefile.inc1: Build openssl as a certctl dependency on old FreeBSD
ClosedPublic

Authored by markj on Aug 29 2025, 11:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 10:08 PM
Unknown Object (File)
Fri, Oct 10, 10:08 PM
Unknown Object (File)
Fri, Oct 10, 10:08 PM
Unknown Object (File)
Fri, Oct 10, 10:08 PM
Unknown Object (File)
Fri, Oct 10, 4:12 PM
Unknown Object (File)
Tue, Sep 23, 6:18 PM
Unknown Object (File)
Sep 6 2025, 6:32 AM
Unknown Object (File)
Sep 5 2025, 12:30 AM
Subscribers

Details

Summary

X509_NAME_hash_ex() is not available in OpenSSL 1.x.

Reported by: syzbot+54c1e57e7184582a8f59@syzkaller.appspotmail.com
Fixes: c340ef28fd38 ("certctl: Reimplement in C")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj retitled this revision from Makefile.inc1: Build certctl as a bootstrap tool on old FreeBSD to Makefile.inc1: Build openssl as a certctl dependency on old FreeBSD.Aug 30 2025, 3:30 PM
Makefile.inc1
2719–2720

I believe this breaks cross-building from Linux unless the new addition is qualified with ${.MAKE.OS} != "Linux" -- I didn't make any attempt to guess at endian-ness or anything for Linux, but the libcrypto build wants it.

markj marked an inline comment as done.

Only change behaviour for FreeBSD

Any further comments on or objections to the patch? I'd like to commit this soon: without it syzbot builds are broken since the syzbot host is running a quite old version of FreeBSD.

This revision is now accepted and ready to land.Sep 3 2025, 3:56 PM