Revert LibreSSL workaround when LibreSSL version >= 4.0.0

This commit is contained in:
SystemFailure 2024-10-18 13:17:47 +00:00
parent 1419745a5d
commit f98a310235

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)
{