diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-11 01:30:38 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-12 23:08:19 +0100 |
commit | e9c4caa8f4b5a004c56189a6f83395f809e8cbf8 (patch) | |
tree | b2847f96fc1c72463741caa31a10a7b1f67433eb /src/netops.h | |
parent | 806778dc482e40d26bc7a9d44ccd18b888f6ec33 (diff) | |
download | libgit2-ethomson/ssl_refactor.tar.gz |
openssl: dynamically load libssl and symbols (optionally)ethomson/ssl_refactor
Provide an interface around OpenSSL to dynamically load the libraries and symbols,
so that users can distribute a libgit2 library that is not linked directly against
OpenSSL. This enables users to target multiple distributions with a single binary.
This mechanism is optional and disabled by default. Configure cmake with
-DUSE_HTTPS=OpenSSL-Dynamic to use it.
Diffstat (limited to 'src/netops.h')
-rw-r--r-- | src/netops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.h b/src/netops.h index 771c87b64..7140b39bc 100644 --- a/src/netops.h +++ b/src/netops.h @@ -14,7 +14,7 @@ #include "net.h" #ifdef GIT_OPENSSL -# include <openssl/ssl.h> +# include "streams/openssl.h" #endif typedef struct gitno_ssl { |