Merge pull request #6531 from covlllp/new_merge
Fixes bluebeam password protection issue
This commit is contained in:
commit
e4f0e6f2a0
@ -1762,7 +1762,8 @@ var CipherTransformFactory = (function CipherTransformFactoryClosure() {
|
||||
if (pdfAlgorithm.checkUserPassword(password, userValidationSalt,
|
||||
userPassword)) {
|
||||
return pdfAlgorithm.getUserKey(password, userKeySalt, userEncryption);
|
||||
} else if (pdfAlgorithm.checkOwnerPassword(password, ownerValidationSalt,
|
||||
} else if (password.length && pdfAlgorithm.checkOwnerPassword(password,
|
||||
ownerValidationSalt,
|
||||
uBytes,
|
||||
ownerPassword)) {
|
||||
return pdfAlgorithm.getOwnerKey(password, ownerKeySalt, uBytes,
|
||||
|
Loading…
Reference in New Issue
Block a user