From 6062b5ef685e65ac0fdd001104ca2802b31af82d Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Sat, 20 Sep 2014 00:32:50 +0200 Subject: [PATCH] fix isLocal logic (f*ck yeah unit tests!) --- .../org/sufficientlysecure/keychain/pgp/WrappedSignature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/WrappedSignature.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/WrappedSignature.java index c0bc7769b..93afb987a 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/WrappedSignature.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/WrappedSignature.java @@ -237,6 +237,6 @@ public class WrappedSignature { return false; } SignatureSubpacket p = mSig.getHashedSubPackets().getSubpacket(SignatureSubpacketTags.EXPORTABLE); - return ((Exportable) p).isExportable(); + return ! ((Exportable) p).isExportable(); } }