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 the OpenSSL EVP_Digest*() functions #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ppentchev
Copy link
Contributor

Hi,

Thanks for writing and maintaining libdrpm!

What do you think about this change (that I am about to add to the Debian package of libdrpm), prompted by the fact that OpenSSL 3.x declares the MD5_*() and SHA256_*() functions (among others) deprecated? The EVP_Digest*() ones have been around since at least OpenSSL 1.1.x, and they seem to do the job, although the allocation and clean-up of the context structure does add some code.

Thanks again, and keep up the great work!

G'luck,
Peter

Do not use the deprecated MD5_*() and SHA256_*() functions, but
the generalized ones instead.
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.

1 participant