Date: Thu, 09 Mar 2023 18:12:11 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Kyle Evans <kevans@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: =?US-ASCII?Q?Re=3A_git=3A_b2654064c2d1_-_main_-_pkg=287=29=3A_?= =?US-ASCII?Q?use_libmd_for_sha256_instead_of_openssl?= Message-ID: <9C78AAF1-6A68-46AE-8017-10CC20A9DFE8@FreeBSD.org> In-Reply-To: <CACNAnaFdO9BGGfFA=xUJ31JRsJ_AbicRGHxeFjN3jXE6HQw_QA@mail.gmail.com> References: <202303091643.329GhNWr046904@gitrepo.freebsd.org> <CACNAnaFdO9BGGfFA=xUJ31JRsJ_AbicRGHxeFjN3jXE6HQw_QA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 9 mars 2023 18:00:13 GMT+01:00, Kyle Evans <kevans@freebsd=2Eorg> a =C3= =A9crit=C2=A0: >On Thu, Mar 9, 2023 at 10:43=E2=80=AFAM Baptiste Daroussin <bapt@freebsd= =2Eorg> wrote: >> >> The branch main has been updated by bapt: >> >> URL: https://cgit=2EFreeBSD=2Eorg/src/commit/?id=3Db2654064c2d11a1ee366= 67b3ff8b0f4d2536af74 >> >> commit b2654064c2d11a1ee36667b3ff8b0f4d2536af74 >> Author: Baptiste Daroussin <bapt@FreeBSD=2Eorg> >> AuthorDate: 2023-03-09 16:38:30 +0000 >> Commit: Baptiste Daroussin <bapt@FreeBSD=2Eorg> >> CommitDate: 2023-03-09 16:43:01 +0000 >> >> pkg(7): use libmd for sha256 instead of openssl >> >> OpenSSL 3=2E0 has deprecated the sha256 api, let's use libmd which = has the >> same API instead=2E >> >> In order to avoid the collision in definitions (sha256=2Eh cannot b= e >> 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 >> --- > >If we're going to link against libmd anyways, any reason to keep these >implementations vs using the provided SHA256_Data and SHA256_Fd? > >Thanks, > >Kyle Evans Nope nom reasons indeed Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9C78AAF1-6A68-46AE-8017-10CC20A9DFE8>