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

initialize openssl's legacy provider in rust #10323

Merged
merged 2 commits into from Feb 2, 2024

Conversation

reaperhulk
Copy link
Member

as we oxidize we need to do this here to ensure it actually happens

@reaperhulk reaperhulk force-pushed the legacy-provider-load branch 5 times, most recently from 36ece4f to e689af1 Compare February 2, 2024 04:12
src/rust/src/lib.rs Outdated Show resolved Hide resolved
src/rust/src/lib.rs Outdated Show resolved Hide resolved
src/rust/src/lib.rs Outdated Show resolved Hide resolved
as we oxidize we need to do this here to ensure it actually happens
Comment on lines 41 to 45
/* As of OpenSSL 3.0.0 we must register a legacy cipher provider
to get RC2 (needed for junk asymmetric private key
serialization), RC4, Blowfish, IDEA, SEED, etc. These things
are ugly legacy, but we aren't going to get rid of them
any time soon. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use // comments, not this weirdo crap

@alex alex enabled auto-merge (squash) February 2, 2024 16:03
@alex alex merged commit ab83fff into pyca:main Feb 2, 2024
57 checks passed
reaperhulk added a commit to reaperhulk/cryptography that referenced this pull request Feb 2, 2024
* initialize openssl's legacy provider in rust

as we oxidize we need to do this here to ensure it actually happens

* alex is a comment format pedant
alex pushed a commit that referenced this pull request Feb 3, 2024
* initialize openssl's legacy provider in rust (#10323)

* initialize openssl's legacy provider in rust

as we oxidize we need to do this here to ensure it actually happens

* alex is a comment format pedant

* remove the memleak tests (#10322)

they are fragile, haven't caught regressions, and increasingly pointless
as we oxidize.
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.

None yet

2 participants