mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
canonicalize: fix NullPointerException
This commit is contained in:
parent
ffea551afc
commit
9058291c05
@ -179,7 +179,8 @@ public class WrappedSignature {
|
||||
}
|
||||
|
||||
public boolean isLocal() {
|
||||
if (!mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.EXPORTABLE)) {
|
||||
if (!mSig.hasSubpackets()
|
||||
|| !mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.EXPORTABLE)) {
|
||||
return false;
|
||||
}
|
||||
SignatureSubpacket p = mSig.getHashedSubPackets().getSubpacket(SignatureSubpacketTags.EXPORTABLE);
|
||||
|
Loading…
Reference in New Issue
Block a user