summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 16:15:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-20 19:52:52 +0200
commit0b8682d83e9e5a9832383aff011af5429ddd7e71 (patch)
tree50002fb49259e717cba5a9ab0f68f41431d9807a /xmlsecurity
parent5fa9076a2926b2a54f001f78eea5ce0183466b61 (diff)
pvs-studio: Expression 'keyStore != nullptr' is always true.
Change-Id: I70a78f731a01f3344bf6c874995d367d26bf2397 Reviewed-on: https://gerrit.libreoffice.org/62052 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
index aafd7d10a66c..4054777afa1e 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
@@ -55,14 +55,6 @@ xmlSecKeysMngrPtr MSCryptoAppliedKeysMngrCreate()
return nullptr ;
}
- /*-
- * At present, MS Crypto engine do not provide a way to setup a key store.
- */
- if (keyStore != nullptr)
- {
- /*TODO: binding key store.*/
- }
-
keyMngr = xmlSecKeysMngrCreate() ;
if (keyMngr == nullptr)
{