Merge pull request #2108 from SystemFailureNet/openssl

Please disable LibreSSL workaround when LibreSSL version >= 4.0.0
This commit is contained in:
orignal
2024-10-21 21:38:50 -04:00
committed by GitHub

View File

@@ -997,7 +997,7 @@ namespace crypto
}
else
{
#if defined(LIBRESSL_VERSION_NUMBER)
#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x4000000fL
std::vector<uint8_t> m(msgLen + 16);
if (msg == buf)
{