diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-08-28 14:11:49 +0100 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-08-28 15:36:10 +0100 |
commit | e2f757a5c78fce69faeeacb0850b886374c63b5f (patch) | |
tree | 6fdf1962e358bc65ca7b9122f6a899b664d92199 /source/pdf/pdf-encoding.c | |
parent | 1f279100b292519fa095c576e49ba3e3bb4efbe8 (diff) | |
download | mupdf-e2f757a5c78fce69faeeacb0850b886374c63b5f.tar.xz |
Avoid use of fixed size buffers for the digest when document signing
The signer object now has an extra method that informs the caller of
the maximum size the digest might be. This is used to allocate space for
the digest within the file and to size some of the buffers used in the
code.
The openssl-based inplementation of the signer object has been updated to
perform a test digest generation so as to find the size needed. We
believe that the digest size is indendent of the hashed data.
Diffstat (limited to 'source/pdf/pdf-encoding.c')
0 files changed, 0 insertions, 0 deletions