diff options
author | Dean Scarff <deanscarff@google.com> | 2020-07-02 11:24:04 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-10-17 02:04:36 +0200 |
commit | a99ad2b9007d1775e9598bc78698cbc5d5ba0f60 (patch) | |
tree | 3f23cbfdc410a96e8317aded4397377a14f14b84 /libtests/qtest/qintc | |
parent | 2ff84aa2c95eba295e374f239b47e314d59e59cb (diff) | |
download | qpdf-a99ad2b9007d1775e9598bc78698cbc5d5ba0f60.tar.zst |
Update OpenSSL autoconf checks
- Checks explicitly for versions >= 1.1.0 with pkg-config
- Refactor the fallback checks. Previously they were copied
from the gnutls logic, but could be slightly surprising (it's not
obvious that they're for the case where pkg-config returns a false
negative, and it's weird that the linker check overode the header check)
- Fix the AC_SEARCH_LIBS check to try -lcrypto instead of -lopenssl
(-lcrypto is the standard library OpenSSL ships the crypto symbols in).
- Fix the AC_SEARCH_LIBS check to look for EVP_MD_CTX_new, which is not
present in versions prior to 1.1.0.
Fixes qpdf/qpdf#429 (although I haven't verified on cygwin)
Diffstat (limited to 'libtests/qtest/qintc')
0 files changed, 0 insertions, 0 deletions