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

Method security_level

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

Source from the content-addressed store, hash-verified

1041 #[cfg(ossl110)]
1042 #[pygetset]
1043 fn security_level(&self) -> i32 {
1044 unsafe { SSL_CTX_get_security_level(self.ctx().as_ptr()) }
1045 }
1046
1047 #[pymethod]
1048 fn set_ciphers(&self, cipherlist: PyStrRef, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 2

as_ptrMethod · 0.45
ctxMethod · 0.45

Tested by

no test coverage detected