Fix crash in PgpKeyHelper

This commit is contained in:
Dominik Schürmann 2014-08-28 13:10:52 +02:00
parent aeb0296572
commit 677d9e6023

View File

@ -95,7 +95,7 @@ public class PgpKeyHelper {
break;
}
}
if (keySize > 0)
if (keySize != null && keySize > 0)
return algorithmStr + ", " + keySize + " bit";
else
return algorithmStr;