mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug 74615
This commit is contained in:
@ -146,6 +146,11 @@ GBool Decrypt::makeFileKey(int encVersion, int encRevision, int keyLength,
|
||||
|
||||
return gFalse;
|
||||
|
||||
} else if (ownerPassword->getLength() == 0) {
|
||||
// try using the supplied user password
|
||||
return makeFileKey2(encVersion, encRevision, keyLength, ownerKey, userKey,
|
||||
permissions, fileID, userPassword, fileKey,
|
||||
encryptMetadata);
|
||||
} else {
|
||||
|
||||
// try using the supplied owner password to generate the user password
|
||||
|
||||
Reference in New Issue
Block a user