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.
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 1dad5f6..26eb90d 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