diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-08 17:05:28 +0000 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-25 10:25:21 +0100 |
commit | a38e0961002310562da2c32b96fa539eaa2a23c4 (patch) | |
tree | 32c0ca2a1068d8a35450cbb1516fabf9780e8d5b /xmlsecurity/source/gpg/XMLSecurityContext.cxx | |
parent | e6bb72dd4c6a9f9743f3585e22576f589e5e74ba (diff) |
default to CertificateValidity::INVALID
so if CertGetCertificateChain fails we don't want validity to be
css::security::CertificateValidity::VALID which is what the old default
of 0 equates to
notably
commit 1e0bc66d16aee28ce8bd9582ea32178c63841902
Date: Thu Nov 5 16:55:26 2009 +0100
jl137: #103420# better logging
turned the nss equivalent of SecurityEnvironment_NssImpl::verifyCertificate
from 0 to CertificateValidity::INVALID like this change does
Change-Id: I5350dbc22d1b9b378da2976d3b0abd728f1f4c27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110561
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit edeb164c1d8ab64116afee4e2140403a362a1358)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113051
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'xmlsecurity/source/gpg/XMLSecurityContext.cxx')
0 files changed, 0 insertions, 0 deletions