[poppler] utils/pdfsig.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 9 14:51:26 UTC 2023


 utils/pdfsig.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 19679f2873369117204c3e555967a5c9ed9187d6
Author: Sune Vuorela <sune at vuorela.dk>
Date:   Fri Jun 9 16:30:47 2023 +0200

    Fix build without NSS
    
    Happened as a mismerge during !1394

diff --git a/utils/pdfsig.cc b/utils/pdfsig.cc
index 047f8ba5..7e6c7e8b 100644
--- a/utils/pdfsig.cc
+++ b/utils/pdfsig.cc
@@ -235,8 +235,8 @@ static std::vector<std::unique_ptr<X509CertificateInfo>> getAvailableSigningCert
         printf("No backends for cryptographic signatures available");
         return {};
     }
-#ifdef ENABLE_NSS3
     std::vector<std::unique_ptr<X509CertificateInfo>> vCerts = backend->getAvailableSigningCertificates();
+#ifdef ENABLE_NSS3
     NSSSignatureConfiguration::setNSSPasswordCallback({});
     if (passwordNeeded) {
         *error = true;


More information about the poppler mailing list