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

Simplify adding signing key to result

GnuPG-bug-id: 5283
parent fde4ff96
......@@ -319,9 +319,7 @@ void KeyResolverCore::Private::setSigningKeys(const QStringList &fingerprints)
qCDebug(LIBKLEO_LOG) << "Failed to find signing key with fingerprint" << fpr;
continue;
}
auto list = mSigKeys.value(key.protocol());
list.push_back(key);
mSigKeys.insert(key.protocol(), list);
mSigKeys[key.protocol()].push_back(key);
}
}
}
......
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