Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2023 08:18:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 270023] usr.sbin/pkg doesn't compile with OpenSSL 3
Message-ID:  <bug-270023-32340-51It0R9Zvx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270023-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270023-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270023

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7bc2192380e10f3469ab4eda69ade324a=
ae976cd

commit 7bc2192380e10f3469ab4eda69ade324aae976cd
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-03-09 16:38:30 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-05-19 08:16:51 +0000

    pkg(7): use libmd for sha256 instead of openssl

    OpenSSL 3.0 has deprecated the sha256 api, let's use libmd which has the
    same API instead.

    In order to avoid the collision in definitions (sha256.h cannot be
    included in the same file as a file where openssl headers has been
    included) let's move the sha256 related code in its own file

    PR:             270023
    Reported by:    ngie

    (cherry picked from commit b2654064c2d11a1ee36667b3ff8b0f4d2536af74)

 usr.sbin/pkg/Makefile     |   4 +-
 usr.sbin/pkg/hash.c (new) | 112 ++++++++++++++++++++++++++++++++++++++++++=
++++
 usr.sbin/pkg/hash.h (new) |  32 +++++++++++++
 usr.sbin/pkg/pkg.c        |  78 +-------------------------------
 4 files changed, 147 insertions(+), 79 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270023-32340-51It0R9Zvx>