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

Use DH_generate_parameters_ex() #1431

Merged
merged 2 commits into from
Mar 12, 2021

Conversation

nospam3089
Copy link

https://www.openssl.org/docs/man1.1.0/man3/DH_generate_parameters.html
states that DH_generate_parameters() is deprecated. It has been so since
OpenSSL 0.9.8 was released in 2005.

@@ -77,15 +77,18 @@ impl Dh<Params> {
///
/// This corresponds to [`DH_generate_parameters`].
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
/// This corresponds to [`DH_generate_parameters`].
/// This corresponds to [`DH_generate_parameters_ex`].

Copy link
Author

Choose a reason for hiding this comment

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

Good catch! That's an excellent improvement. I've re-pushed the branch with this change included. Thank you!

https://www.openssl.org/docs/man1.1.0/man3/DH_generate_parameters.html
states that DH_generate_parameters() is deprecated. It has been so since
OpenSSL 0.9.8 was released in 2005.
@nospam3089 nospam3089 force-pushed the fix/modern_generate_parameters branch from b6584dd to 62acbe3 Compare March 11, 2021 08:03
@sfackler sfackler merged commit 5fa5654 into sfackler:master Mar 12, 2021
This was referenced Mar 15, 2021
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