[poppler] poppler/SignatureHandler.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 13 16:44:17 UTC 2022
poppler/SignatureHandler.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4d921bd83945b803f1ea3724d1d841e2138e2a05
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu Jan 13 17:34:05 2022 +0100
SignatureHandler: Access CERT_NameTemplate in a Windows/Android compatible way
diff --git a/poppler/SignatureHandler.cc b/poppler/SignatureHandler.cc
index 41e89970..7cbbeb48 100644
--- a/poppler/SignatureHandler.cc
+++ b/poppler/SignatureHandler.cc
@@ -6,7 +6,7 @@
//
// Copyright 2015, 2016 André Guerreiro <aguerreiro1985 at gmail.com>
// Copyright 2015 André Esser <bepandre at hotmail.com>
-// Copyright 2015, 2016, 2018, 2019, 2021 Albert Astals Cid <aacid at kde.org>
+// Copyright 2015, 2016, 2018, 2019, 2021, 2022 Albert Astals Cid <aacid at kde.org>
// Copyright 2015 Markus Kilås <digital at markuspage.com>
// Copyright 2017 Sebastian Rasmussen <sebras at gmail.com>
// Copyright 2017 Hans-Ulrich Jüttner <huj at froreich-bioscientia.de>
@@ -164,7 +164,7 @@ struct SigningCertificateV2
* registeredID [8] OBJECT IDENTIFIER
* }
*/
-const SEC_ASN1Template GeneralNameTemplate[] = { { SEC_ASN1_SEQUENCE, 0, nullptr, sizeof(GeneralName) }, { SEC_ASN1_INLINE, offsetof(GeneralName, name), CERT_NameTemplate, 0 }, { 0, 0, nullptr, 0 } };
+const SEC_ASN1Template GeneralNameTemplate[] = { { SEC_ASN1_SEQUENCE, 0, nullptr, sizeof(GeneralName) }, { SEC_ASN1_INLINE, offsetof(GeneralName, name), SEC_ASN1_GET(CERT_NameTemplate), 0 }, { 0, 0, nullptr, 0 } };
/**
* GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
More information about the poppler
mailing list