summaryrefslogtreecommitdiff
path: root/openssl-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-compat.h')
-rw-r--r--openssl-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-compat.h b/openssl-compat.h
index 5d91ac64..a23e3425 100644
--- a/openssl-compat.h
+++ b/openssl-compat.h
@@ -34,6 +34,9 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name)
#define TLS_method SSLv23_method
+#define X509_getm_notBefore X509_get_notBefore
+#define X509_getm_notAfter X509_get_notAfter
+
#endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */