curl/m4
Viktor Szakats 9fb6cc54c5
tidy-up: use `OPENSSL_VERSION_NUMBER`
Uniformly use `OPENSSL_VERSION_NUMBER` to check for OpenSSL version.
Before this patch some places used `OPENSSL_VERSION_MAJOR`.

Also fix `lib/md4.c`, which included `opensslconf.h`, but that doesn't
define any version number in these implementations: BoringSSL, AWS-LC,
LibreSSL, wolfSSL. (Only in mainline OpenSSL/quictls). Switch that to
`opensslv.h`. This wasn't causing a deeper problem because the code is
looking for v3, which is only provided by OpenSSL/quictls as of now.

According to https://github.com/openssl/openssl/issues/17517, the macro
`OPENSSL_VERSION_NUMBER` is safe to use and not deprecated.

Reviewed-by: Marcel Raad
Closes #12298
2023-11-08 17:55:22 +00:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-amissl.m4 tidy-up: use `OPENSSL_VERSION_NUMBER` 2023-11-08 17:55:22 +00:00
curl-bearssl.m4 tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
curl-compilers.m4 build: delete support bits for obsolete Windows compilers 2023-11-06 22:00:10 +00:00
curl-confopts.m4 misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
curl-functions.m4 build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` 2023-11-06 17:20:39 +00:00
curl-gnutls.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-mbedtls.m4 tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
curl-openssl.m4 tidy-up: use `OPENSSL_VERSION_NUMBER` 2023-11-08 17:55:22 +00:00
curl-override.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-reentrant.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-rustls.m4 tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
curl-schannel.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-sectransp.m4 cmake, configure: also link with CoreServices 2023-09-20 08:38:19 +02:00
curl-sysconfig.m4 cmake, configure: also link with CoreServices 2023-09-20 08:38:19 +02:00
curl-wolfssl.m4 tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
xc-am-iface.m4 build: drop the use of XC_AMEND_DISTCLEAN 2023-03-03 09:54:44 +01:00
xc-cc-check.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
xc-lt-iface.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
xc-translit.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
xc-val-flgs.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
zz40-xc-ovr.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
zz50-xc-ovr.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
zz60-xc-ovr.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00