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

Port security fixes from the openssl crate (fixes #111) #114

Merged
merged 7 commits into from
May 11, 2023

Conversation

nox
Copy link
Collaborator

@nox nox commented Apr 27, 2023

This fixes #111.

JoshuaNitschke and others added 7 commits May 5, 2023 11:10
Since X509Name is more complex than a single value (it's a a sequence
of entries) it's useful to be able to serialise/deserialise to/from
flat data, and DER is a natural form for this.

So add a {i2d,d2i}_X509_NAME -sys functions, and to_der/from_der
wrappers in X509NameRef and X509Name respectively.

Originally added in sfackler/rust-openssl#1534
… requires it for some extensions (and segfaults without)
@inikulin inikulin merged commit da32be1 into cloudflare:master May 11, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Same code vulnerable to RUSTSEC-2023-0024
6 participants