diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-05 10:57:52 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-05 10:57:52 +0100 |
commit | 709cf76f6bb7dbaca14e3e8df160ccfac04dcecb (patch) | |
tree | cffb2677079ffeb53bd6e5afbe623d6295a5eb7d /lib/md5.c | |
parent | 1a62b6e68c08c7e471ff22dd92932aba7e026817 (diff) | |
download | curl-709cf76f6bb7dbaca14e3e8df160ccfac04dcecb.tar.gz |
openssl: remove all uses of USE_SSLEAY
SSLeay was the name of the library that was subsequently turned into
OpenSSL many moons ago (1999). curl does not work with the old SSLeay
library since years. This is now reflected by only using USE_OPENSSL in
code that depends on OpenSSL.
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -81,14 +81,9 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX * ctx) gcry_md_close(*ctx); } -#elif defined(USE_SSLEAY) +#elif defined(USE_OPENSSL) /* When OpenSSL is available we use the MD5-function from OpenSSL */ - -# ifdef USE_OPENSSL -# include <openssl/md5.h> -# else -# include <md5.h> -# endif +#include <openssl/md5.h> #elif (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && \ (__MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)) || \ |