mirror of
https://github.com/rui314/mold.git
synced 2024-11-10 00:59:38 +03:00
4622b6b14c
This reverts commit 395b962c3d
because
it broke CI.
9 lines
231 B
C
9 lines
231 B
C
#ifdef __APPLE__
|
|
# define COMMON_DIGEST_FOR_OPENSSL
|
|
# include <CommonCrypto/CommonDigest.h>
|
|
# define SHA256(data, len, md) CC_SHA256(data, len, md)
|
|
#else
|
|
# define OPENSSL_SUPPRESS_DEPRECATED 1
|
|
# include <openssl/sha.h>
|
|
#endif
|