summaryrefslogtreecommitdiff
path: root/include/unotest
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-03-01 11:50:29 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-03-01 15:17:55 +0100
commit9888bb3dbb7ca558e0b440314bdb24bc60843bb0 (patch)
treea903a99f3e87084baf8082daa11c46163b21cdb5 /include/unotest
parentc8ce8980b35edf394d72848fa777de49c37513e1 (diff)
Fix the test failing when invalid certificate is in cert store
testSigningMultipleTimes_ODT was failing for me locally because of an expired certificate present in my store. Change-Id: Ie3dfb9ee1a110259ba747a03fc28c205df2eea91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130743 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/unotest')
-rw-r--r--include/unotest/macros_test.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unotest/macros_test.hxx b/include/unotest/macros_test.hxx
index c6c810ad108b..6a476cf0ec40 100644
--- a/include/unotest/macros_test.hxx
+++ b/include/unotest/macros_test.hxx
@@ -93,6 +93,7 @@ public:
void setUpNssGpg(const test::Directories& rDirectories, const OUString& rTestName);
void tearDownNssGpg();
+ static bool IsValid(const css::uno::Reference<css::security::XCertificate>& cert);
static css::uno::Reference<css::security::XCertificate> GetValidCertificate(
const css::uno::Sequence<css::uno::Reference<css::security::XCertificate>>& certs);