aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1526.c
diff options
context:
space:
mode:
authorRicky Leverence <rleverence@godaddy.com>2019-04-12 11:53:12 -0700
committerDaniel Stenberg <daniel@haxx.se>2019-05-08 09:30:15 +0200
commit3a03e59048d6b3e62f56baf4b4bd0cba5f26fe17 (patch)
treeadacfa8990946888d916cc02e5e8a3cf86fd6583 /tests/libtest/lib1526.c
parent191ffd07082322cdfd4ca4581f39160166534405 (diff)
OpenSSL: Report -fips in version if OpenSSL is built with FIPS
Older versions of OpenSSL report FIPS availabilty via an OPENSSL_FIPS define. It uses this define to determine whether to publish -fips at the end of the version displayed. Applications that utilize the version reported by OpenSSL will see a mismatch if they compare it to what curl reports, as curl is not modifying the version in the same way. This change simply adds a check to see if OPENSSL_FIPS is defined, and will alter the reported version to match what OpenSSL itself provides. This only appears to be applicable in versions of OpenSSL <1.1.1 Closes #3771
Diffstat (limited to 'tests/libtest/lib1526.c')
0 files changed, 0 insertions, 0 deletions