Remove obsolete comment

This commit is contained in:
ergo720 2019-03-11 18:48:18 +01:00
parent 017f6a2e7a
commit 7dafc03484
1 changed files with 0 additions and 9 deletions

View File

@ -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));