diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-24 17:45:51 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-02-24 18:02:05 +0200 |
commit | 4702f6ae2f671ac48e4cae3cd46d5941d021e533 (patch) | |
tree | 2b3c41618cf814552fd77001f6bbb3dd7714cc0f | |
parent | 5ffeec96228e0adb829612ecb855cd28e2063f1d (diff) |
tdf#84881: Set TimeStampReq::certReq to true
I think Adobe Reader expects the timestamp info to include the TSA's
certificate.
Change-Id: Iedf1c4a9952b12ac61b4ba7f73bee339480e821d
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index bb67eb7c8948..94183bd28538 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -6796,9 +6796,9 @@ bool PDFWriterImpl::finalizeSignature() src.nonce.data = reinterpret_cast<unsigned char*>(&nNonce); src.nonce.len = sizeof(nNonce); - src.certReq.type = siBuffer; - src.certReq.data = NULL; - src.certReq.len = 0; + src.certReq.type = siUnsignedInteger; + src.certReq.data = &cOne; + src.certReq.len = sizeof(cOne); src.extensions = NULL; |