MCPcopy Index your code
hub / github.com/RustPython/RustPython / verify_flags

Method verify_flags

crates/stdlib/src/openssl.rs:1200–1206  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1198 }
1199 #[pygetset]
1200 fn verify_flags(&self) -> libc::c_ulong {
1201 unsafe {
1202 let ctx_ptr = self.ctx().as_ptr();
1203 let param = sys::SSL_CTX_get0_param(ctx_ptr);
1204 sys::X509_VERIFY_PARAM_get_flags(param)
1205 }
1206 }
1207 #[pygetset(setter)]
1208 fn set_verify_flags(&self, new_flags: libc::c_ulong, vm: &VirtualMachine) -> PyResult<()> {
1209 unsafe {

Callers

nothing calls this directly

Calls 2

as_ptrMethod · 0.45
ctxMethod · 0.45

Tested by

no test coverage detected