mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +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;
|
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 {
|
} else {
|
||||||
|
|
||||||
// try using the supplied owner password to generate the user password
|
// try using the supplied owner password to generate the user password
|
||||||
|
|||||||
Reference in New Issue
Block a user