Commit e38b5551 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

fixup! Show all configured S/MIME attributes

parent 7f9a9ec9
......@@ -980,10 +980,6 @@ void CertificateDetailsWidget::Private::setupSMIMEProperties()
const auto ownerId = key.userID(0);
const Kleo::DN dn(ownerId.id());
const QString cn = dn[QStringLiteral("CN")];
const QString o = dn[QStringLiteral("O")];
const QString dnEmail = dn[QStringLiteral("EMAIL")];
const QString name = cn.isEmpty() ? dnEmail : cn;
for (const auto &[attributeName, field] : ui.smimeAttributeFields) {
const QString attributeValue = dn[attributeName];
......
Supports Markdown
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