Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert src/backend/hashes.rs to new pyo3 APIs #10705

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

facutuesca
Copy link
Contributor

Part of #10676. This fixes all of the warnings in src/backend/hashes.rs.

Most of the changes are trivial, but there are a couple where I added a clone() call that should be manually reviewed:

  • In hashes.rs:97:
algorithm: algorithm.clone().into_py(py),
  • In rsa.rs:294:
algorithm.clone().into_gil_ref(),
  • In rsa.rs:444:
algorithm.clone().into_gil_ref(),

cc @alex @reaperhulk

@alex alex merged commit 01d27ac into pyca:main Apr 4, 2024
58 checks passed
@facutuesca facutuesca deleted the pyo3-bound-hashes branch April 4, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants