Author :
Azat Khuzhin
Date :
2020-01-05 19:02:22
Hash :921bdcdd Message :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
(cherry picked from commit 08981f8d752ad23e21887b42944783e843b2e281)