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
..
2023-09-20 13:38:42 +02:00
2023-11-08 17:55:22 +00:00
2023-11-02 20:35:20 +01:00
2023-07-20 23:41:47 +02:00
2023-08-31 23:02:10 +00:00
2023-10-04 23:22:16 +02:00
2023-09-03 18:42:37 +02:00
2023-10-27 00:37:34 +00:00
2023-09-28 22:58:36 +02:00
2023-11-02 20:35:20 +01:00
2023-05-23 10:42:09 +02:00
2023-07-31 11:51:34 +02:00
2023-10-21 10:29:02 +02:00
2023-10-27 00:37:34 +00:00
2023-10-27 00:37:34 +00:00
2023-05-18 20:45:04 +02:00
2023-10-09 18:34:17 +02:00
2023-10-21 14:36:51 +02:00
2023-10-21 14:36:51 +02:00
2023-04-25 23:16:51 +02:00
2023-09-30 11:45:39 +02:00
2023-09-30 11:45:39 +02:00
2023-09-16 11:37:57 +02:00
2023-11-02 20:35:20 +01:00
2023-09-05 16:36:03 +02:00
2023-04-14 09:26:26 +02:00
2023-09-20 13:38:42 +02:00
2023-10-28 00:27:20 -04:00
2023-11-02 20:35:20 +01:00
2023-09-25 20:12:18 +02:00
2023-09-25 20:12:18 +02:00
2023-09-25 20:12:18 +02:00
2023-08-25 20:54:14 +02:00
2023-07-29 23:42:53 +02:00
2023-07-29 23:42:53 +02:00
2023-11-08 17:55:22 +00:00
2023-09-16 11:37:57 +02:00
2023-09-16 11:37:57 +02:00
2023-10-09 18:34:17 +02:00
2023-09-16 11:37:57 +02:00
2023-10-21 14:38:21 +02:00
2023-08-30 11:38:27 +02:00
2023-06-07 13:06:08 +00:00
2023-11-03 16:43:45 +01:00
2023-10-27 16:55:54 +02:00
2023-11-02 20:35:20 +01:00
2023-10-30 17:02:13 +01:00
2023-09-25 17:06:33 +02:00
2023-10-27 00:37:34 +00:00
2023-04-25 23:16:51 +02:00