diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-02-24 16:38:22 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-02-24 16:38:22 +0100 |
commit | f3d1be7d62e67bd2f7c5266c40a8a0ea7c8dec80 (patch) | |
tree | 8b2eba27f68668709f3dc6d7d554afa08d59d0a6 | |
parent | 43955927e4b4ad004443f07cb5611a1f0ce282a4 (diff) | |
download | libgit2-f3d1be7d62e67bd2f7c5266c40a8a0ea7c8dec80.tar.gz |
openssl: export the locking function when building without OpenSSL
This got lost duing the move and it lets the users call this function
just in case.
-rw-r--r-- | src/openssl_stream.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c index 1dad5f637..26eb90d72 100644 --- a/src/openssl_stream.c +++ b/src/openssl_stream.c @@ -603,4 +603,10 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port) return -1; } +int git_openssl_set_locking(void) +{ + /* No OpenSSL here, move along */ + return 0; +} + #endif |