Commit 4b4d4ebc authored by ElenaSubbotina's avatar ElenaSubbotina

x2t checker - fix users file with crypt

parent b132ea26
......@@ -191,7 +191,10 @@ bool COfficeFileFormatChecker::isMS_OFFCRYPTOFormatFile (POLE::Storage * storage
if (entries.size() > 0)
return true;
return false;
if ( storage->exists("EncryptionInfo") &&
storage->exists("EncryptedPackage"))
return true;
return false;
}
bool COfficeFileFormatChecker::isOfficeFile(const std::wstring & fileName)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment