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

This commit is contained in:
Carlos Martín Nieto 2016-02-24 17:17:57 +01:00
parent f3d1be7d62
commit 68ad3156a0

View File

@ -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