From 1c5af8c00dcef2a58f161c898a0bb83744b6ba68 Mon Sep 17 00:00:00 2001 From: Azurethi Date: Tue, 1 Dec 2020 22:23:45 +0000 Subject: [PATCH] Fixes incorrect var name in RsaPrivateKey.cpp Fixed an incorrect variable name in src/mbedTLS++/RsaPrivateKey.cpp : cRsaPrivateKey::Decrypt. --- src/mbedTLS++/RsaPrivateKey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbedTLS++/RsaPrivateKey.cpp b/src/mbedTLS++/RsaPrivateKey.cpp index 94c7b38eb..704a2a1d0 100644 --- a/src/mbedTLS++/RsaPrivateKey.cpp +++ b/src/mbedTLS++/RsaPrivateKey.cpp @@ -118,7 +118,7 @@ int cRsaPrivateKey::Decrypt(const Byte * a_EncryptedData, size_t a_EncryptedLeng if (a_DecryptedMaxLength < m_Rsa.len) { LOGD("%s: Invalid a_DecryptedMaxLength: got %u, exp at least %u", - __FUNCTION__, static_cast(a_EncryptedLength), static_cast(m_Rsa.len) + __FUNCTION__, static_cast(a_DecryptedMaxLength), static_cast(m_Rsa.len) ); ASSERT(!"Invalid a_DecryptedMaxLength!"); return -1;