]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid collisions with function names in openssl headers.
authorstevek <stevek@FreeBSD.org>
Fri, 4 Sep 2020 04:31:56 +0000 (04:31 +0000)
committerstevek <stevek@FreeBSD.org>
Fri, 4 Sep 2020 04:31:56 +0000 (04:31 +0000)
commit6b4ba85de7f511813ba8bc3725162bc2994d2639
tree804d6f1ba4a5658eb66e875828f516f1dcbbabae
parent4f67284a103d25c93dde61db7056cc0509cfca8c
Avoid collisions with function names in openssl headers.

Just using MD5, SHA1, RMD160 and SHA256 for defines collides with
functions of the same name in OpenSSL. This can cause compilation
issues in downstream consumers if they use OpenSSL for the hash
functions instead of libmd.

Reviewed by: sjg
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D26321
usr.sbin/fmtree/Makefile
usr.sbin/fmtree/compare.c