Use proper length and mod time for cleartext signature metadata
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user