diff --git a/src/openssl.h b/src/openssl.h index 5704e1eb..60c0c2c3 100644 --- a/src/openssl.h +++ b/src/openssl.h @@ -95,7 +95,8 @@ #include #if (OPENSSL_VERSION_NUMBER >= 0x10100000L && \ - !defined(LIBRESSL_VERSION_NUMBER)) || defined(LIBSSH2_WOLFSSL) + !defined(LIBRESSL_VERSION_NUMBER)) || defined(LIBSSH2_WOLFSSL) || \ + LIBRESSL_VERSION_NUMBER >= 0x3050000fL /* For wolfSSL, whether the structs are truly opaque or not, it's best to not * rely on their internal data members being exposed publicly. */ # define HAVE_OPAQUE_STRUCTS 1