Commit 68ad3156a03202d9f5be9d45e935ead3047fc97a

Carlos Martín Nieto 2016-02-24T17:17:57

openssl: we already had the function, just needed the header

diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 26eb90d..15cabdf 100644
--- a/src/openssl_stream.c
+++ b/src/openssl_stream.c
@@ -581,6 +581,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
 #else
 
 #include "stream.h"
+#include "git2/sys/openssl.h"
 
 int git_openssl_stream_global_init(void)
 {
@@ -603,10 +604,4 @@ 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