aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java
index 312875229..e74b84dfb 100644
--- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java
+++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperationTest.java
@@ -1012,7 +1012,7 @@ public class PgpKeyOperationTest {
parcel.reset();
Random r = new Random();
- int type = r.nextInt(110)+1;
+ int type = r.nextInt(110)+2; // any type except image attribute, to avoid interpretation of these
byte[] data = new byte[r.nextInt(2000)];
new Random().nextBytes(data);