]> granicus.if.org Git - curl/commit
md5: remove use of CommonCrypto-to-OpenSSL macros for the benefit of Leopard
authorNick Zitzmann <nickzman@gmail.com>
Tue, 6 Aug 2013 01:47:56 +0000 (19:47 -0600)
committerNick Zitzmann <nickzman@gmail.com>
Tue, 6 Aug 2013 01:47:56 +0000 (19:47 -0600)
commit230e16dc033a05ad9b2ed8a499f74b69886e0865
tree0b90864b3bf208580b6df6e47af56de8f8f807fd
parent0ce410a62970237823902b30fd851778f09dc089
md5: remove use of CommonCrypto-to-OpenSSL macros for the benefit of Leopard

For some reason, OS X 10.5's GCC suddenly stopped working correctly with
macros that change MD5_Init etc. in the code to CC_MD5_Init etc., so I
worked around this by removing use of the macros and inserting static
functions that just call CommonCrypto's implementations of the functions
instead.
lib/md5.c