]> granicus.if.org Git - libevent/commit
Use OPENSSL_VERSION_NUMBER over OPENSSL_VERSION_MAJOR (for compatibility)
authorAzat Khuzhin <azat@libevent.org>
Sat, 9 Jul 2022 20:27:23 +0000 (23:27 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sun, 10 Jul 2022 07:07:39 +0000 (10:07 +0300)
commitc22f2757449f47ce661b3cdbb8a105d7721b4a5a
treec35a2aad764b4f05fe97e7da3c35254a5948d9d8
parenta29570a1e2d1164f5286bbfe1c6a18e5e87ffc1e
Use OPENSSL_VERSION_NUMBER over OPENSSL_VERSION_MAJOR (for compatibility)

Since OpenSSL 3.0 there is new OPENSSL_VERSION_MAJOR, but previous
releases does not have it.

So let's use plain old OPENSSL_VERSION_NUMBER to avoid more preprocessor
macros.
sample/becat.c
sample/le-proxy.c
test/regress_ssl.c