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.
This commit is contained in:
Carlos Martín Nieto 2016-02-24 16:38:22 +01:00
parent 43955927e4
commit f3d1be7d62

View File

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