mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Finish conversion of src/backend/rsa.rs to new pyo3 APIs (#10729)
This commit is contained in:
parent
1232c8a78a
commit
1d05a6cb49
1 changed files with 2 additions and 2 deletions
|
|
@ -690,7 +690,7 @@ impl RsaPrivateNumbers {
|
|||
fn private_key(
|
||||
&self,
|
||||
py: pyo3::Python<'_>,
|
||||
backend: Option<&pyo3::PyAny>,
|
||||
backend: Option<&pyo3::Bound<'_, pyo3::PyAny>>,
|
||||
unsafe_skip_rsa_key_validation: bool,
|
||||
) -> CryptographyResult<RsaPrivateKey> {
|
||||
let _ = backend;
|
||||
|
|
@ -789,7 +789,7 @@ impl RsaPublicNumbers {
|
|||
fn public_key(
|
||||
&self,
|
||||
py: pyo3::Python<'_>,
|
||||
backend: Option<&pyo3::PyAny>,
|
||||
backend: Option<&pyo3::Bound<'_, pyo3::PyAny>>,
|
||||
) -> CryptographyResult<RsaPublicKey> {
|
||||
let _ = backend;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue