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