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/amigaos.h | |
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/amigaos.h')
-rw-r--r-- | lib/amigaos.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/amigaos.h b/lib/amigaos.h index 7c0926cc3..c776c9c9b 100644 --- a/lib/amigaos.h +++ b/lib/amigaos.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, 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 @@ -23,7 +23,7 @@ ***************************************************************************/ #include "curl_setup.h" -#if defined(__AMIGA__) && !defined(__ixemul__) +#if defined(__AMIGA__) && defined(HAVE_BSDSOCKET_H) && !defined(USE_AMISSL) bool Curl_amiga_init(); void Curl_amiga_cleanup(); @@ -35,4 +35,10 @@ void Curl_amiga_cleanup(); #endif +#ifdef USE_AMISSL +#include <openssl/x509v3.h> +void Curl_amiga_X509_free(X509 *a); +#endif /* USE_AMISSL */ + #endif /* HEADER_CURL_AMIGAOS_H */ + |