From f3d1be7d62e67bd2f7c5266c40a8a0ea7c8dec80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 24 Feb 2016 16:38:22 +0100 Subject: [PATCH] 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. --- src/openssl_stream.c | 6 ++++++ 1 file changed, 6 insertions(+) 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