Kaydet (Commit) 4702f6ae authored tarafından Tor Lillqvist's avatar Tor Lillqvist

tdf#84881: Set TimeStampReq::certReq to true

I think Adobe Reader expects the timestamp info to include the TSA's
certificate.

Change-Id: Iedf1c4a9952b12ac61b4ba7f73bee339480e821d
üst 5ffeec96
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment