diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-03-08 00:06:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-15 10:22:42 +0100 |
commit | 1e853653d2022bec831af62ec55765e6df62e356 (patch) | |
tree | 4aa6c5692f27358bd4516ddbfc21a385643c89c4 /lib/md5.c | |
parent | 76a9d8df0e03d2e0a648d882a62e08c90f994f88 (diff) | |
download | curl-1e853653d2022bec831af62ec55765e6df62e356.tar.gz |
configure: add --with-amissl
AmiSSL is an Amiga native library which provides a wrapper over OpenSSL.
It also requires all programs using it to use bsdsocket.library
directly, rather than accessing socket functions through clib, which
libcurl was not necessarily doing previously. Configure will now check
for the headers and ensure they are included if found.
Closes #3677
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -83,7 +83,7 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX * ctx) gcry_md_close(*ctx); } -#elif defined(USE_OPENSSL) +#elif defined(USE_OPENSSL) && !defined(USE_AMISSL) /* When OpenSSL is available we use the MD5-function from OpenSSL */ #include <openssl/md5.h> #include "curl_memory.h" |