Merge pull request #4661 from laomaiweng/patch-1

streams: openssl: add missing check on OPENSSL_LEGACY_API
This commit is contained in:
Patrick Steinhardt
2018-05-30 10:51:10 +02:00
committed by GitHub

View File

@@ -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);