Commit f3d1be7d62e67bd2f7c5266c40a8a0ea7c8dec80

Carlos Martín Nieto 2016-02-24T16:38:22

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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