Closed UnitedMarsupials-zz closed 7 years ago
This might be relevant to getting the macOS builds to work: https://github.com/travis-ci/travis-ci/issues/6698
Yes, this was just an illustration, really -- and I used #define
s to reduce the differences. Point is, there are so many MD5-implementations out there already, there is no justification in bringing in yet another :)
The rationale is simple -- libcurl, which is already a requirement, typically links with OpenSSL. Let's use OpenSSL's MD5-implementation instead of maintaining our own implementation.
Some people build curl with NSS instead of OpenSSL (or derivative), so it might be better to go through the
curl_md5.h
compatibility layer instead. Unfortunately, the header is not installed by the FreeBSD-port of the library.This makes it less straightforward than my earlier PR #68, but it is still worth considering.