summaryrefslogtreecommitdiffstats
path: root/Makefile.fetch
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-11-30 10:14:32 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-11-30 12:09:24 +0100
commit7339a3d39035ccc7541fbbddc858121ce464dc68 (patch)
treec9fa58eb6245f6b7c79db995b62cac2bc1a39de5 /Makefile.fetch
parentsw: use auto when initializing with a cast to avoid duplicating the type name (diff)
downloadcore-7339a3d39035ccc7541fbbddc858121ce464dc68.tar.gz
core-7339a3d39035ccc7541fbbddc858121ce464dc68.zip
vcl mscrypto PDF sign: fix typo in GetDERLengthOfLength()
When id-aa-signingCertificateV2 had a value that was larger than 255 bytes, then the header size is expected to be 4 bytes, but it was only 3. The length part of the header is 3 bytes: one byte declaring the length-of-length, and 3 bytes for the length. We added this additional byte to the result too early, that way we counted that e.g. 278 (the number) fits into a single uint8_t, which is not the case. Also introduce named constants for some of the hardwired numbers in the code for better readability. Change-Id: I816236e5ac561c9d21bd9df703385ee2201482e7
Diffstat (limited to 'Makefile.fetch')
0 files changed, 0 insertions, 0 deletions