mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
fix minor logic error (haha)
This commit is contained in:
parent
354bc87579
commit
51ecce510f
@ -721,7 +721,7 @@ public class UncachedKeyRing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If we have flags, check if the algorithm supports all of them
|
// If we have flags, check if the algorithm supports all of them
|
||||||
if (selfCert.getHashedSubPackets() == null
|
if (selfCert.getHashedSubPackets() != null
|
||||||
&& selfCert.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.KEY_FLAGS)) {
|
&& selfCert.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.KEY_FLAGS)) {
|
||||||
int flags = ((KeyFlags) selfCert.getHashedSubPackets().getSubpacket(SignatureSubpacketTags.KEY_FLAGS)).getFlags();
|
int flags = ((KeyFlags) selfCert.getHashedSubPackets().getSubpacket(SignatureSubpacketTags.KEY_FLAGS)).getFlags();
|
||||||
int algo = key.getAlgorithm();
|
int algo = key.getAlgorithm();
|
||||||
|
Loading…
Reference in New Issue
Block a user