From 7dafc03484bd37542b7e5b0739b433bf0a053cf0 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Mon, 11 Mar 2019 18:48:18 +0100 Subject: [PATCH] Remove obsolete comment --- src/common/xbe/Xbe.cpp | 9 --------- 1 file changed, 9 deletions(-) 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));