diff --git a/Changes b/Changes index 38882d6..a69f8fa 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Perl extension Crypt::OpenSSL::RSA. + - Fix old openssl on strawberry does not include whrlpool.h + 0.35 May 7 2025 - Disable PKCS#1 v1.5 padding. It's not practical to mitigate marvin attacks so we will instead disable this and require alternatives to address the issue. - Resolves #42 - CVE-2024-2467. diff --git a/RSA.xs b/RSA.xs index 775ae3e..066ee00 100644 --- a/RSA.xs +++ b/RSA.xs @@ -10,7 +10,7 @@ #include #include #include -#if OPENSSL_VERSION_NUMBER < 0x30000000 +#if OPENSSL_VERSION_NUMBER >= 0x10000000 & OPENSSL_VERSION_NUMBER < 0x30000000 #include #endif #include