picoquic-rs icon indicating copy to clipboard operation
picoquic-rs copied to clipboard

Propagate the OpenSSL error on verification error

Open bkchr opened this issue 7 years ago • 2 comments

The OpenSSL error is currently not propagated back to picoquic, as the rust openssl implementation does not throw an error on verification error.

See: https://docs.rs/openssl/0.10.6/openssl/x509/struct.X509StoreContext.html#method.error

bkchr avatar Apr 06 '18 17:04 bkchr

Hi, I see this issue by coincidence.

Do you mean that part of the error code from C's OpenSSL function is translated to Result's Ok instead of Err in Rust-bindings?

shinmao avatar Feb 28 '23 23:02 shinmao

Hey, I don't remember exactly what this issue was about 😅 I should archive the repo.

bkchr avatar Mar 03 '23 06:03 bkchr