Fix nfc signing
This commit is contained in:
1 parent
4dec8b2b76
commit
1837dc89fa
2 files changed
+2
-2
No files matched your search
@@ -569,7 +569,7 @@ public class PgpSignEncrypt {
|
|||||||
SignEncryptResult result =
|
SignEncryptResult result =
|
||||||
new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
|
new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
|
||||||
result.setNfcData(e.hashToSign, e.hashAlgo, e.creationTimestamp);
|
result.setNfcData(e.hashToSign, e.hashAlgo, e.creationTimestamp);
|
||||||
return new SignEncryptResult(SignEncryptResult.RESULT_PENDING_NFC, log);
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ public class SignEncryptResult extends OperationResult {
|
|||||||
dest.writeInt(0);
|
dest.writeInt(0);
|
||||||
}
|
}
|
||||||
dest.writeInt(mNfcAlgo);
|
dest.writeInt(mNfcAlgo);
|
||||||
if (mNfcHash != null) {
|
if (mNfcTimestamp != null) {
|
||||||
dest.writeInt(1);
|
dest.writeInt(1);
|
||||||
dest.writeLong(mNfcTimestamp.getTime());
|
dest.writeLong(mNfcTimestamp.getTime());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user