diff --git a/src/Utils.cpp b/src/Utils.cpp index 11f32121..ceee05b3 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -29,7 +29,7 @@ #include #include #include -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (LIBRESSL_VERSION_NUMBER < 0x20700000L) #define X509_getm_notBefore X509_get_notBefore #define X509_getm_notAfter X509_get_notAfter #endif