Fixes incorrect var name in RsaPrivateKey.cpp
Fixed an incorrect variable name in src/mbedTLS++/RsaPrivateKey.cpp : cRsaPrivateKey::Decrypt.
This commit is contained in:
parent
5aad42a4d0
commit
1c5af8c00d
@ -118,7 +118,7 @@ int cRsaPrivateKey::Decrypt(const Byte * a_EncryptedData, size_t a_EncryptedLeng
|
|||||||
if (a_DecryptedMaxLength < m_Rsa.len)
|
if (a_DecryptedMaxLength < m_Rsa.len)
|
||||||
{
|
{
|
||||||
LOGD("%s: Invalid a_DecryptedMaxLength: got %u, exp at least %u",
|
LOGD("%s: Invalid a_DecryptedMaxLength: got %u, exp at least %u",
|
||||||
__FUNCTION__, static_cast<unsigned>(a_EncryptedLength), static_cast<unsigned>(m_Rsa.len)
|
__FUNCTION__, static_cast<unsigned>(a_DecryptedMaxLength), static_cast<unsigned>(m_Rsa.len)
|
||||||
);
|
);
|
||||||
ASSERT(!"Invalid a_DecryptedMaxLength!");
|
ASSERT(!"Invalid a_DecryptedMaxLength!");
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user