curl/lib/vtls
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
..
bearssl.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gtls.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
gtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostcheck.c gskit: remove 2023-08-07 20:57:48 +02:00
hostcheck.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
mbedtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
openssl.c tidy-up: use OPENSSL_VERSION_NUMBER 2023-11-08 17:55:22 +00:00
openssl.h ngtcp2: add CURLOPT_SSL_CTX_FUNCTION support for openssl+wolfssl 2023-01-10 13:41:21 +01:00
rustls.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
schannel.h build: do not publish HAVE_BORINGSSL, HAVE_AWSLC macros 2023-10-08 22:29:45 +00:00
schannel_int.h mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
schannel_verify.c schannel: verify hostname independent of verify cert 2023-08-11 12:27:18 -04:00
sectransp.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls.c vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0 2023-11-07 11:43:50 +01:00
vtls.h vtls: late clone of connection ssl config 2023-11-02 14:30:42 +01:00
vtls_int.h vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0 2023-11-07 11:43:50 +01:00
wolfssl.c wolfssl: add default case for wolfssl_connect_step1 switch 2023-10-29 14:52:19 +01:00
wolfssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
x509asn1.c gskit: remove 2023-08-07 20:57:48 +02:00
x509asn1.h gskit: remove 2023-08-07 20:57:48 +02:00