diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-24 11:50:54 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-02-24 15:21:28 +0200 |
commit | c98f569d035861b6b8c74b469512fa2ae7c9576f (patch) | |
tree | 8703264e816d115713e556b8ef2562c5035fb3e2 | |
parent | 11292487db58c3a5e1204ba03d192f01e5e53cc4 (diff) |
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
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index d9431bc415e6..222722b1291c 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -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; |