add more descriptive string about non-mdc encrypted data

This commit is contained in:
Vincent Breitmoser
2015-01-03 21:07:33 +01:00
parent 320f7d35ef
commit 2192a6badd
3 changed files with 3 additions and 1 deletions

View File

@@ -633,7 +633,7 @@ public class PgpDecryptVerify extends BaseOperation {
// Handle missing integrity protection like failed integrity protection!
// The MDC packet can be stripped by an attacker!
if (!signatureResultBuilder.isValidSignature()) {
log.add(LogType.MSG_DC_ERROR_INTEGRITY_CHECK, indent);
log.add(LogType.MSG_DC_ERROR_INTEGRITY_MISSING, indent);
return new DecryptVerifyResult(DecryptVerifyResult.RESULT_ERROR, log);
}
}