mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00
Ignore MDC error in unit test for symmetrically encrypted packet
This commit is contained in:
parent
469a6be31a
commit
2aa8b143bd
@ -72,6 +72,7 @@ describe("Packet", function() {
|
||||
|
||||
var msg2 = new openpgp.packet.List();
|
||||
msg2.read(message.write());
|
||||
msg2[0].ignore_mdc_error = true;
|
||||
msg2[0].decrypt(algo, key);
|
||||
|
||||
expect(stringify(msg2[0].packets[0].data)).to.equal(stringify(literal.data));
|
||||
|
Loading…
x
Reference in New Issue
Block a user