mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibPDF: Treat Encyption's Length item as optional
With the StandardSecurityHandler the Length item in the Encryption dictionary is optional, and needs to be given only if the encryption algorithm (V) is other than 1; otherwise we can assume a length of 40 bits for the encryption key.
This commit is contained in:
parent
b8dc05a08e
commit
dc6a11cf6b
2 changed files with 16 additions and 1 deletions
|
@ -134,6 +134,7 @@
|
|||
A(UCR) \
|
||||
A(UseBlackPTComp) \
|
||||
A(UserUnit) \
|
||||
A(V) \
|
||||
A(W) \
|
||||
A(WhitePoint) \
|
||||
A(Width) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue