Fixes bluebeam password protection issue
This commit is contained in:
parent
2096a2a94a
commit
6d8e883fe6
@ -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