Commit 4b4d4ebc authored by ElenaSubbotina's avatar ElenaSubbotina

x2t checker - fix users file with crypt

parent b132ea26
...@@ -191,6 +191,9 @@ bool COfficeFileFormatChecker::isMS_OFFCRYPTOFormatFile (POLE::Storage * storage ...@@ -191,6 +191,9 @@ bool COfficeFileFormatChecker::isMS_OFFCRYPTOFormatFile (POLE::Storage * storage
if (entries.size() > 0) if (entries.size() > 0)
return true; return true;
if ( storage->exists("EncryptionInfo") &&
storage->exists("EncryptedPackage"))
return true;
return false; return false;
} }
bool COfficeFileFormatChecker::isOfficeFile(const std::wstring & fileName) 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