diff options
author | Sune Vuorela <sune@vuorela.dk> | 2023-05-30 22:06:20 +0000 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2023-05-30 22:06:20 +0000 |
commit | 981210b9dcc47ce2209ae7091cf6df87c958b6b2 (patch) | |
tree | 8a3b05c3620f0950a91ff044868f97ade87cd51f /qt6 | |
parent | c6dd11d89a08a6e4ab93d31b6d5d89a9153d9a91 (diff) |
Rename NSS CryptoSign backend classes and files in line with GPG backend.
Diffstat (limited to 'qt6')
-rw-r--r-- | qt6/src/poppler-form.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt6/src/poppler-form.cc b/qt6/src/poppler-form.cc index 01655a81..94fc06e0 100644 --- a/qt6/src/poppler-form.cc +++ b/qt6/src/poppler-form.cc @@ -47,7 +47,7 @@ #include <CertificateInfo.h> #include <CryptoSignBackend.h> #ifdef ENABLE_NSS3 -# include <SignatureHandler.h> +# include <NSSCryptoSignBackend.h> #endif #include "poppler-page-private.h" @@ -1239,7 +1239,7 @@ bool hasCryptoSignBackendFeature(CryptoSignBackend backend, CryptoSignBackendFea QString POPPLER_QT6_EXPORT getNSSDir() { #ifdef ENABLE_NSS3 - return QString::fromLocal8Bit(SignatureHandler::getNSSDir().c_str()); + return QString::fromLocal8Bit(NSSSignatureConfiguration::getNSSDir().c_str()); #else return QString(); #endif @@ -1253,7 +1253,7 @@ void setNSSDir(const QString &path) } GooString *goo = QStringToGooString(path); - SignatureHandler::setNSSDir(*goo); + NSSSignatureConfiguration::setNSSDir(*goo); delete goo; #else (void)path; @@ -1267,7 +1267,7 @@ std::function<QString(const QString &)> nssPasswordCall; void setNSSPasswordCallback(const std::function<char *(const char *)> &f) { #ifdef ENABLE_NSS3 - SignatureHandler::setNSSPasswordCallback(f); + NSSSignatureConfiguration::setNSSPasswordCallback(f); #else qWarning() << "setNSSPasswordCallback called but this poppler is built without NSS support"; (void)f; |