summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-08-01 10:40:05 +0200
committerAndre Heinecke <[email protected]>2017-08-01 10:41:09 +0200
commit777a58b25e3b3160ead4cbdca8d921e9341f8647 (patch)
tree6c3cac3a4cb83c2fdaba644975fd721e54b588e3
parented5ac17ba6bc70bd4a5be1aeff77fc45df852cc4 (diff)
Remove assert
In compliance mode get_keys is called even if the dialog is not fully populated. This should not trigger an assert.
-rw-r--r--src/crypto/gui/signencryptemailconflictdialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/crypto/gui/signencryptemailconflictdialog.cpp b/src/crypto/gui/signencryptemailconflictdialog.cpp
index 598244e..24f58ad 100644
--- a/src/crypto/gui/signencryptemailconflictdialog.cpp
+++ b/src/crypto/gui/signencryptemailconflictdialog.cpp
@@ -631,7 +631,6 @@ static std::vector<Key> get_keys(const std::vector<CertificateSelectionLine> &li
[proto](const CertificateSelectionLine &l) {
return l.key(proto);
});
- kleo_assert(std::none_of(keys.cbegin(), keys.cend(), std::mem_fn(&Key::isNull)));
return keys;
}