Fixes for nfc decrypt

This commit is contained in:
Dominik Schürmann committed 2014-09-18 15:28:51 +02:00
1 parent 1837dc89fa
commit a77c217b82
3 files changed
+18 -9

No files matched your search

@@ -418,8 +418,7 @@ public class PgpDecryptVerify {
log.add(LogType.MSG_DC_PENDING_NFC, indent +1);
DecryptVerifyResult result =
new DecryptVerifyResult(DecryptVerifyResult.RESULT_PENDING_NFC, log);
result.setNfcEncryptedSessionKey(e.encryptedSessionKey);
// TODO save passphrase here?
result.setNfcState(e.encryptedSessionKey, mPassphrase);
return result;
}
encryptedData = encryptedDataAsymmetric;