Skip to content

Commit d72e13b

Browse files
committed
whoops, actually a positive 1
1 parent 659e318 commit d72e13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remote_callbacks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ extern "C" fn certificate_check_cb(
417417
data: *mut c_void,
418418
) -> c_int {
419419
match valid {
420-
-1 => valid,
420+
1 => valid,
421421
_ => {
422422
let ok = panic::wrap(|| unsafe {
423423
let payload = &mut *(data as *mut RemoteCallbacks<'_>);

0 commit comments

Comments
 (0)