summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openssl_stream.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 26eb90d72..15cabdfb8 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