change how empty private cheks happen, speeds things up

This commit is contained in:
Ash Hughes committed 2013-03-18 16:07:34 +00:00
1 parent 2ccd3796c4
commit 12d6cfefd7
3 files changed
+12 -11

No files matched your search

@@ -164,9 +164,7 @@ public class PgpHelper {
for (int i = 0; i < signingKeys.size(); ++i) {
PGPSecretKey key = signingKeys.get(i);
if (key.isMasterKey()) {
if (!isSecretKeyPrivateEmpty(key)) {
masterKey = key;
}
masterKey = key;
} else {
usableKeys.add(key);
}