Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68ad315

Browse files
committed
openssl: we already had the function, just needed the header
1 parent f3d1be7 commit 68ad315

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/openssl_stream.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
581581
#else
582582

583583
#include "stream.h"
584+
#include "git2/sys/openssl.h"
584585

585586
int git_openssl_stream_global_init(void)
586587
{
@@ -603,10 +604,4 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
603604
return -1;
604605
}
605606

606-
int git_openssl_set_locking(void)
607-
{
608-
/* No OpenSSL here, move along */
609-
return 0;
610-
}
611-
612607
#endif

0 commit comments

Comments
 (0)