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

Fix weak-crypto feature #120

Merged
merged 1 commit into from
Jan 28, 2022
Merged

Conversation

eaufavor
Copy link
Contributor

These flags are disabled by default at least in newer versions of openssl.
So They have to be explicitly enabled to be used.

I've verified this behavior on openssl 1.1.1h and 3.0.1. Other flags/features might have the same issue, but I have no check yet.

@alexcrichton
Copy link
Owner

Seems reasonable to me, thanks! While you're at it would you be ok inverting the conditional and swapping the cases? (seems a bit easier to read to me at least)

These flags are disabled by default at least in newer versions of openssl.
So They have to be explicitly enabled to be used.
@eaufavor
Copy link
Contributor Author

Sure thing. Done.

@alexcrichton alexcrichton merged commit d523d40 into alexcrichton:master Jan 28, 2022
james58899 pushed a commit to james58899/openssl-src-rs that referenced this pull request Feb 5, 2022
These flags are disabled by default at least in newer versions of openssl.
So They have to be explicitly enabled to be used.
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.

2 participants