diff --git a/src/common/xbe/Xbe.cpp b/src/common/xbe/Xbe.cpp index 20d1f6e48..2e08fca44 100644 --- a/src/common/xbe/Xbe.cpp +++ b/src/common/xbe/Xbe.cpp @@ -778,15 +778,6 @@ const wchar_t *Xbe::GetUnicodeFilenameAddr() 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(); DWORD HeaderDigestSize = m_Header.dwSizeofHeaders - (sizeof(m_Header.dwMagic) + sizeof(m_Header.pbDigitalSignature));