[Bug 272280] security/libpki: fix build with OpenSSL 3.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jun 2023 09:53:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272280

            Bug ID: 272280
           Summary: security/libpki: fix build with OpenSSL 3.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bruno@ruomad.net

Created attachment 243071
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243071&action=edit
Patch to fix build against OpenSSL 3.0 in 14.0-CURRENT

Patch to allow building in FreeBSD 14.0-CURRENT (OpenSSL 3.0.9).

Fixes :
- detection of OpenSSL version (a bit hacky IMHO)
- changes breaking compilation

Doesn't cover the replacement of obsoleted functions (specially the move from
engines to providers) which is way above my paygrade.

I submitted the patch upstream as a PR
(https://github.com/openca/libpki/pull/74).

Builds with poudriere on FreeBSD 13.2-p1 and 14.0-CURRENT (arch  x86_64).

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