aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java
diff options
context:
space:
mode:
authorAdithya Abraham Philip <adithyaphilip@gmail.com>2015-06-24 01:59:03 +0530
committerAdithya Abraham Philip <adithyaphilip@gmail.com>2015-06-27 01:20:23 +0530
commit6f3be84c43365b081040e8cefc571fa3db0550aa (patch)
treeeb27942ef4e8dbb44e8c73401af19b197f16dfb5 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java
parentde4b203150cfe542cdba7003bc9cc249b5d22b7f (diff)
downloadopen-keychain-6f3be84c43365b081040e8cefc571fa3db0550aa.tar.gz
open-keychain-6f3be84c43365b081040e8cefc571fa3db0550aa.tar.bz2
open-keychain-6f3be84c43365b081040e8cefc571fa3db0550aa.zip
fixed promote key tests
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java
index fe8a23d12..efe0c466a 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/PromoteKeyOperation.java
@@ -62,6 +62,11 @@ public class PromoteKeyOperation extends BaseOperation<PromoteKeyringParcel> {
byte[] cardAid = promoteKeyringParcel.mCardAid;
long[] subKeyIds = promoteKeyringParcel.mSubKeyIds;
+ return execute(masterKeyId, cardAid, subKeyIds);
+ }
+
+ public PromoteKeyResult execute(long masterKeyId, byte[] cardAid, long[] subKeyIds) {
+
OperationLog log = new OperationLog();
log.add(LogType.MSG_PR, 0);