Skip to content

Commit

Permalink
[poppler] Update to 22.08.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
attah committed Aug 26, 2022
1 parent 7aed437 commit 73f08a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,18 @@ index b7c8213b..d83e66af 100644
FormWidgetSignature *fws = static_cast<FormWidgetSignature *>(m_formData->fm);
- const time_t validationTimeT = validationTime.isValid() ? validationTime.toSecsSinceEpoch() : -1;
+ const time_t validationTimeT = validationTime.isValid() ? validationTime.toTime_t() : -1;
SignatureInfo *si = fws->validateSignature(opt & ValidateVerifyCertificate, opt & ValidateForceRevalidation, validationTimeT);
SignatureInfo *si = fws->validateSignature(opt & ValidateVerifyCertificate, opt & ValidateForceRevalidation, validationTimeT, !(opt & ValidateWithoutOCSPRevocationCheck), opt & ValidateUseAIACertFetch);

// get certificate info
diff --git a/qt5/tests/poppler-forms.cpp b/qt5/tests/poppler-forms.cpp
index c2175be8..1e0ceedb 100644
--- a/qt5/tests/poppler-forms.cpp
+++ b/qt5/tests/poppler-forms.cpp
@@ -259,7 +259,11 @@ int main(int argc, char **argv)
else
} else {
std::cout << "\t\t\tSignerName: "
<< "(null)" << std::endl;
}
- const QDateTime sviTime = QDateTime::fromSecsSinceEpoch(svi.signingTime(), Qt::UTC);
+ // http://doc.qt.io/qt-5/qdatetime.html#fromTime_t-1
+ // Requires Qt 5.2 -> configure.ac update
Expand Down
2 changes: 1 addition & 1 deletion upstream
Submodule upstream updated 485 files

0 comments on commit 73f08a1

Please sign in to comment.