signatures: a revocation reason does NOT determine if a cert is a revocation type

This commit is contained in:
Vincent Breitmoser 2014-07-15 19:31:27 +02:00
parent 2f35e07c9e
commit 501d4b887a

View File

@ -86,7 +86,7 @@ public class WrappedSignature {
}
public boolean isRevocation() {
return mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.REVOCATION_REASON);
return mSig.getSignatureType() == PGPSignature.CERTIFICATION_REVOCATION;
}
public boolean isPrimaryUserId() {