mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Fix crash in PgpKeyHelper
This commit is contained in:
parent
aeb0296572
commit
677d9e6023
@ -95,7 +95,7 @@ public class PgpKeyHelper {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (keySize > 0)
|
||||
if (keySize != null && keySize > 0)
|
||||
return algorithmStr + ", " + keySize + " bit";
|
||||
else
|
||||
return algorithmStr;
|
||||
|
Loading…
Reference in New Issue
Block a user