mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 02:08:11 +00:00
openssl: we already had the function, just needed the header
This commit is contained in:
parent
f3d1be7d62
commit
68ad3156a0
@ -581,6 +581,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
|
#include "git2/sys/openssl.h"
|
||||||
|
|
||||||
int git_openssl_stream_global_init(void)
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int git_openssl_set_locking(void)
|
|
||||||
{
|
|
||||||
/* No OpenSSL here, move along */
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user