Unverified Commit 8a14846b by Patrick Steinhardt Committed by GitHub

Merge pull request #4661 from laomaiweng/patch-1

streams: openssl: add missing check on OPENSSL_LEGACY_API
parents 36ae5c93 b1cab70b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment