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

Skip to content

Commit f3d1be7

Browse files
committed
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.
1 parent 4395592 commit f3d1be7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/openssl_stream.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,4 +603,10 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
603603
return -1;
604604
}
605605

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

0 commit comments

Comments
 (0)