Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

OpenSSLCryptoHash.cpp: Allow use of md5 in fips mode#7

Open
sshedi wants to merge 1 commit intoapache:trunkfrom
sshedi:allow-md5-in-fips-mode
Open

OpenSSLCryptoHash.cpp: Allow use of md5 in fips mode#7
sshedi wants to merge 1 commit intoapache:trunkfrom
sshedi:allow-md5-in-fips-mode

Conversation

@sshedi
Copy link

@sshedi sshedi commented Jan 12, 2022

Do this properly by comparing version of openssl in the system

openssl-3.x has removed EVP_MD_CTX_FLAG_NON_FIPS_ALLOW support
And we need to use EVP_MD_fetch(...) API to use md5 while in fips mode

Signed-off-by: Shreenidhi Shedi sshedi@vmware.com

Do this properly by comparing version of openssl in the system

openssl-3.x has removed EVP_MD_CTX_FLAG_NON_FIPS_ALLOW support
And we need to use EVP_MD_fetch(...) API to use md5 while in fips mode

Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
@sshedi
Copy link
Author

sshedi commented Jan 12, 2022

@gmcdonald and @coheigea please review this PR once. If I need to send this PR to some other place, share the details.

@scantor
Copy link

scantor commented Jan 12, 2022

Bugs should be filed in Apache's Jira instance, I do not have any abilitty to commit code via github due to its terms of service.

@sshedi
Copy link
Author

sshedi commented Jan 12, 2022

Can you please tell me how to do it? If you give me the steps, I will try to catch up with the process.

@scantor
Copy link

scantor commented Jan 12, 2022

@sshedi
Copy link
Author

sshedi commented Jan 12, 2022

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants