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

tdf#84881: Fix typo in OID string for id-aa-timeStampToken

Not that it seems to help. Adobe Reader still claims "signing time is from the
clock on the signer's computer".

(Why can't RFCs come with standard C header files (and Java and C# sources)
defining macros/constants for the magic numbers, OIDs etc that the RFC
defines?)

Change-Id: I56e8cb4ef56e20345506a080e4d23764d2dfb956
üst 11292487
......@@ -6968,7 +6968,7 @@ bool PDFWriterImpl::finalizeSignature()
// id-aa-timeStampToken OBJECT IDENTIFIER ::= { iso(1)
// member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9)
// smime(16) aa(2) 14 }
if (my_SEC_StringToOID(NULL, &typetag.oid, "1.2.840.113549.1.9.16.14", 0) != SECSuccess)
if (my_SEC_StringToOID(NULL, &typetag.oid, "1.2.840.113549.1.9.16.2.14", 0) != SECSuccess)
{
SAL_WARN("vcl.pdfwriter", "SEC_StringToOID failed");
return false;
......
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