On Thu, Mar 9, 2023 at 10:43 AM Baptiste Daroussin <[email protected]> wrote: > > The branch main has been updated by bapt: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=b2654064c2d11a1ee36667b3ff8b0f4d2536af74 > > commit b2654064c2d11a1ee36667b3ff8b0f4d2536af74 > Author: Baptiste Daroussin <[email protected]> > AuthorDate: 2023-03-09 16:38:30 +0000 > Commit: Baptiste Daroussin <[email protected]> > 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 > ---
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
