Remove assert

In compliance mode get_keys is called even if the dialog
is not fully populated. This should not trigger an assert.
parent ed5ac17b
...@@ -631,7 +631,6 @@ static std::vector<Key> get_keys(const std::vector<CertificateSelectionLine> &li ...@@ -631,7 +631,6 @@ static std::vector<Key> get_keys(const std::vector<CertificateSelectionLine> &li
[proto](const CertificateSelectionLine &l) { [proto](const CertificateSelectionLine &l) {
return l.key(proto); return l.key(proto);
}); });
kleo_assert(std::none_of(keys.cbegin(), keys.cend(), std::mem_fn(&Key::isNull)));
return keys; return keys;
} }
......
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