]> granicus.if.org Git - libevent/commit
Fix compilation without OPENSSL_API_COMPAT
authorAzat Khuzhin <azat@libevent.org>
Sun, 5 Jan 2020 16:02:22 +0000 (19:02 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 7 Jan 2020 19:15:08 +0000 (22:15 +0300)
commit08981f8d752ad23e21887b42944783e843b2e281
treefb0703b43f814a6a73b2c0a3d65d80981a7f7e2a
parent6412f34f242e9b5b87f0378715baf97ba0bf1a8c
Fix compilation without OPENSSL_API_COMPAT

Use the following for openssl 1.1+:
- X509_getm_notBefore over X509_get_notBefore
- X509_getm_notAfter  over X509_get_notAfter
- use OPENSSL_VERSION_NUMBER over SSLeay()
- add missing headers

Refs: openssl/openssl@0b7347effee5
openssl-compat.h
sample/becat.c
test/regress_ssl.c