diff --git a/src/security/certstore.cpp b/src/security/certstore.cpp index 5152c547fb9d4b544f55d11c7512bd91c11a13b7..e4429451a7dffdd2b263f52a84a691ac6702f8d6 100644 --- a/src/security/certstore.cpp +++ b/src/security/certstore.cpp @@ -460,7 +460,7 @@ TrustStore::setCertificateStatus(std::shared_ptr<crypto::Certificate> cert, if (allowed) // Certificate is re-added after ban, rebuld needed dirty = true; else - allowed_.remove(*s->second.first); + allowed_.remove(*s->second.first, false); } } } @@ -540,7 +540,7 @@ TrustStore::setStoreCertStatus(const crypto::Certificate& crt, bool status) if (status) allowed_.add(crt); else - allowed_.remove(crt); + allowed_.remove(crt, false); } void