Date: Thu, 09 Mar 2023 16:44:16 +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-SM5qPQUhwe@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 #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db2654064c2d11a1ee36667b3ff8b0f4d2= 536af74 commit b2654064c2d11a1ee36667b3ff8b0f4d2536af74 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2023-03-09 16:38:30 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2023-03-09 16:43:01 +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 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-SM5qPQUhwe>