summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-24 17:45:51 +0200
committerAndras Timar <andras.timar@collabora.com>2015-03-05 16:44:24 +0100
commit10dd512d4d6fa446dc7014ef9274a2565a834c08 (patch)
tree8cbea8fd7b5cdaf4970d584c8c2d06fdd94fb977
parent8ad04451f74e015dca9e78d22c64b1642d237be5 (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 (cherry picked from commit 4702f6ae2f671ac48e4cae3cd46d5941d021e533)
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index df316ce686ab..3fc15fa421c9 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6761,9 +6761,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;