Skip to content

Commit

Permalink
openssl: export the locking function when building without OpenSSL
Browse files Browse the repository at this point in the history
This got lost duing the move and it lets the users call this function
just in case.
  • Loading branch information
carlosmn committed Feb 24, 2016
1 parent 4395592 commit f3d1be7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/openssl_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f3d1be7

Please sign in to comment.