Commit a9b5e782 authored by Adrien Béraud's avatar Adrien Béraud Committed by Andreas Traczyk

certstore: don't revoke CA with certificate

Change-Id: I8d042ce90ef715ff4c9425648ff2f88847fb85c6
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent b4ba84af
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment