Remove obsolete comment
This commit is contained in:
parent
017f6a2e7a
commit
7dafc03484
|
@ -778,15 +778,6 @@ const wchar_t *Xbe::GetUnicodeFilenameAddr()
|
||||||
|
|
||||||
bool Xbe::CheckXbeSignature()
|
bool Xbe::CheckXbeSignature()
|
||||||
{
|
{
|
||||||
// Workaround for nxdk (and possibly oxdk?): xbe's built with nxdk have the digital signature set to all zeros, which will lead
|
|
||||||
// to a crash during its decryption in RSAdecrypt. Detect this condition and skip the check if true
|
|
||||||
//{
|
|
||||||
// UCHAR Dummy[256] = { 0 };
|
|
||||||
// if (memcmp(m_Header.pbDigitalSignature, Dummy, 256) == 0) {
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
init_tom_lib();
|
init_tom_lib();
|
||||||
|
|
||||||
DWORD HeaderDigestSize = m_Header.dwSizeofHeaders - (sizeof(m_Header.dwMagic) + sizeof(m_Header.pbDigitalSignature));
|
DWORD HeaderDigestSize = m_Header.dwSizeofHeaders - (sizeof(m_Header.dwMagic) + sizeof(m_Header.pbDigitalSignature));
|
||||||
|
|
Loading…
Reference in New Issue