Skip to content

Commit 8a14846

Browse files
authored
Merge pull request libgit2#4661 from laomaiweng/patch-1
streams: openssl: add missing check on OPENSSL_LEGACY_API
2 parents 36ae5c9 + b1cab70 commit 8a14846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/streams/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ int git_openssl_stream_global_init(void)
249249
return 0;
250250
}
251251

252-
#if defined(GIT_THREADS)
252+
#if defined(GIT_THREADS) && defined(OPENSSL_LEGACY_API)
253253
static void threadid_cb(CRYPTO_THREADID *threadid)
254254
{
255255
GIT_UNUSED(threadid);

0 commit comments

Comments
 (0)