We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23841b commit cd308b4Copy full SHA for cd308b4
mbedtls/src/pk/mod.rs
@@ -1620,7 +1620,7 @@ iy6KC991zzvaWY/Ys+q/84Afqa+0qJKQnPuy/7F5GkVdQA/lfbhi
1620
for c in [_0, _1, nm1, n] {
1621
let ct = c.to_binary_padded(LEN).unwrap();
1622
let l = pk.decrypt(&ct, &mut pt, rng);
1623
- assert_eq!(l.unwrap_err(), expected_err);
+ assert_eq!(l.unwrap_err(), expected_err.into());
1624
}
1625
for c in [_2, nm2] {
1626
0 commit comments