mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
Fix nfc signing
This commit is contained in:
parent
4dec8b2b76
commit
1837dc89fa
@ -569,7 +569,7 @@ public class PgpSignEncrypt {
|
||||
SignEncryptResult result =
|
||||
new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
|
||||
result.setNfcData(e.hashToSign, e.hashAlgo, e.creationTimestamp);
|
||||
return new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ public class SignEncryptResult extends OperationResult {
|
||||
dest.writeInt(0);
|
||||
}
|
||||
dest.writeInt(mNfcAlgo);
|
||||
if (mNfcHash != null) {
|
||||
if (mNfcTimestamp != null) {
|
||||
dest.writeInt(1);
|
||||
dest.writeLong(mNfcTimestamp.getTime());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user