-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -g -O2 -Werror -MT hash_md5.o -MD -MP -MF .deps/hash_md5.Tpo -c -o hash_md5.o hash_md5.c
hash_md5.c:35:9: error: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
MD5_Init(&mdctx);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hash_md5.c:43:9: error: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
MD5_Update(&mdctx, rp->block_addr, rp->block_size);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hash_md5.c:44:9: error: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
MD5_Final(digest, &mdctx);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
3 errors generated.
make[2]: *** [hash_md5.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
from googling it seems openssl APIs are deprecated on mac os > 10.7
Metadata
Metadata
Assignees
Labels
No labels