diff options
author | McDonough, Tim <timothy.mcdonough@hpe.com> | 2018-01-23 02:24:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-25 22:16:24 +0100 |
commit | 1433e4645b51a4ccb0b5e23a889ac9bd6093e3e2 (patch) | |
tree | 61e26b1eafa195cf8c45533d31bafc07b8ffabc5 /tests/libtest/lib504.c | |
parent | 1c00519499f9b360992bddd872ee003da18ebbf9 (diff) |
openssl: fix pinned public key build error in FIPS mode
Here is a version that should work with all versions of openssl 0.9.7
through 1.1.0.
Links to the docs:
https://www.openssl.org/docs/man1.0.2/crypto/EVP_DigestInit.html
https://www.openssl.org/docs/man1.1.0/crypto/EVP_DigestInit.html
At the very bottom of the 1.1.0 documentation there is a history section
that states, " stack allocated EVP_MD_CTXs are no longer supported."
If EVP_MD_CTX_create and EVP_MD_CTX_destroy are not defined, then a
simple mapping can be used as described here:
https://wiki.openssl.org/index.php/Talk:OpenSSL_1.1.0_Changes
Closes #2258
Diffstat (limited to 'tests/libtest/lib504.c')
0 files changed, 0 insertions, 0 deletions