Several X.509 verification APIs are missing or have safety issues that need to be addressed.
Several X.509 verification APIs are missing or have safety issues that need to be addressed.: a task in LegoFlow-SWE (Harbor dataset). SslContext needs a set custom verify callback method that accepts: - An SslVerifyMode indicating the callback’s operational mode. - A closure Fn(&SslRef) -…
The task
`SslContext` needs a `set_custom_verify_callback` method that accepts: - An `SslVerifyMode` indicating the callback’s operational mode. - A closure `Fn(&SslRef) -> Result<(), SslVerifyError>`, where `SslRef` is a reference to the current SSL connection.
Part of Lego-X/LegoFlow-SWE.