summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-04-03 11:45:00 +0100
committerPatrick Steinhardt <ps@pks.im>2018-04-03 12:09:46 +0100
commitede63b99ce5f080e32865918eab0d59083505ee7 (patch)
treebbefbddcb92eb818dabe1ea3ec64aa5af0e17c60 /tests/diff/diffiter.c
parent2505cbfc48a9500606d3bc087f0c8c4d1d46b720 (diff)
downloadlibgit2-ede63b99ce5f080e32865918eab0d59083505ee7.tar.gz
streams: openssl: unify version checks into single define
By now, we have several locations where we are checking the version of OpenSSL to determine whether we can use the new "modern" API or need to use the pre-1.1 legacy API. As we have multiple implementations of OpenSSL with the rather recent libressl implementation, these checks need to honor versions of both implementations, which is rather tedious. Instead, we can just check once for the correct versions and define `OPENSSL_LEGACY_API` in case we cannot use the modern API.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions