Skip to content

Commit cd308b4

Browse files
PROD-9297 review changes 2
1 parent a23841b commit cd308b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbedtls/src/pk/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ iy6KC991zzvaWY/Ys+q/84Afqa+0qJKQnPuy/7F5GkVdQA/lfbhi
16201620
for c in [_0, _1, nm1, n] {
16211621
let ct = c.to_binary_padded(LEN).unwrap();
16221622
let l = pk.decrypt(&ct, &mut pt, rng);
1623-
assert_eq!(l.unwrap_err(), expected_err);
1623+
assert_eq!(l.unwrap_err(), expected_err.into());
16241624
}
16251625
for c in [_2, nm2] {
16261626
let ct = c.to_binary_padded(LEN).unwrap();

0 commit comments

Comments
 (0)