Use proper length and mod time for cleartext signature metadata

This commit is contained in:
Dominik Schürmann
2015-06-29 23:15:55 +02:00
parent bdddeb0f41
commit 13bbda1012

View File

@@ -941,8 +941,8 @@ public class PgpDecryptVerify extends BaseOperation<PgpDecryptVerifyInputParcel>
OpenPgpMetadata metadata = new OpenPgpMetadata(
"",
"text/plain",
0,
0);
-1,
clearText.length);
DecryptVerifyResult result = new DecryptVerifyResult(DecryptVerifyResult.RESULT_OK, log);
result.setDecryptMetadata(metadata);