Skip to content

Commit

Permalink
remove deprecated call (#12052)
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk authored Nov 27, 2024
1 parent 439eb05 commit f299a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/cryptography-cffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn create_module(
let openssl_mod = unsafe {
let res = Cryptography_make_openssl_module();
assert_eq!(res, 0);
pyo3::types::PyModule::import_bound(py, "_openssl")?.clone()
pyo3::types::PyModule::import(py, "_openssl")?.clone()
};
#[cfg(not(python_implementation = "PyPy"))]
// SAFETY: `PyInit__openssl` returns an owned reference.
Expand Down

0 comments on commit f299a48

Please sign in to comment.