summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorQuentin Minster <laomaiweng@minster.io>2018-05-30 02:15:09 +0200
committerGitHub <noreply@github.com>2018-05-30 02:15:09 +0200
commitb1cab70b2c85c77cb7214fac86ae498766337ce1 (patch)
treee8d05fd4906de03b2d832ba3f32303d4ab4b61f3 /tests/diff/diffiter.c
parent7f6c1ce9760c6c397e94d4eba506faeb95452702 (diff)
downloadlibgit2-b1cab70b2c85c77cb7214fac86ae498766337ce1.tar.gz
streams: openssl: add missing check on OPENSSL_LEGACY_API
The `CRYPTO_THREADID` type is no longer available in OpenSSL ≥ 1.1.0 with deprecated features disabled, and causes build failures. Since the `threadid_cb()` function is only ever called by `git_openssl_set_locking()` when `defined(OPENSSL_LEGACY_API)`, only define it then.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions