mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Merge pull request #4661 from laomaiweng/patch-1
streams: openssl: add missing check on OPENSSL_LEGACY_API
This commit is contained in:
@@ -249,7 +249,7 @@ int git_openssl_stream_global_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(GIT_THREADS)
|
||||
#if defined(GIT_THREADS) && defined(OPENSSL_LEGACY_API)
|
||||
static void threadid_cb(CRYPTO_THREADID *threadid)
|
||||
{
|
||||
GIT_UNUSED(threadid);
|
||||
|
||||
Reference in New Issue
Block a user