Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@huwcbjones
Copy link
Contributor

  • sys/evp: add EVP_PKEY_check
  • sys/ec: add EC_GROUP_dup
  • sys/evp: add EVP_PKEY2PKCS8
  • sys/ssl: add SSL_set1_groups_list
  • sys/ssl: add set_dh auto + tmp funcs

@huwcbjones huwcbjones changed the title sys: add more functions to replace non-deprecated ones openssl-sys: add more functions to replace non-deprecated ones Sep 3, 2025
@alex
Copy link
Collaborator

alex commented Sep 3, 2025

test failures on OpenSSL 1.1.0 look real

@botovq
Copy link
Contributor

botovq commented Sep 3, 2025

The EVP_PKEY_*check functions were only added in 1.1.1.

Are these really necessary? They're rather terrible and have had a good share of DoS issues associated with them.

@huwcbjones
Copy link
Contributor Author

Are these really necessary? They're rather terrible and have had a good share of DoS issues associated with them.

Unless you've got a better idea to replace DH_check, RSA_check, DSA_check, etc that isn't these functions that are explicitly mentioned in the ossl deprecation migration guide, then sure, I'm certainly open to better alternatives!

Source: https://docs.openssl.org/3.2/man3/DH_generate_parameters/#description

@botovq
Copy link
Contributor

botovq commented Sep 3, 2025

I know... Unfortunately, there really isn't. Ignore my grumblings :)

@huwcbjones huwcbjones force-pushed the huw/sys/add-more-non-deprecated branch from ed19259 to 663137f Compare September 3, 2025 13:10
@huwcbjones
Copy link
Contributor Author

Whoops, yep that's my bad on the EVP_PKEY_*check. Tested with 3.5 and 1.1 locally - but it was 1.1.1, not 1.1.0 (+ I misread the man page)!

Should be fixed 🤞🏻

@alex alex merged commit d21f423 into rust-openssl:master Sep 3, 2025
171 of 172 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.

3 participants