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

Update fips.go for OpenSSL 3.x compatability #154

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

Conversation

ricky-charlet
Copy link

openssl 1.X api FIPS_mode_set() was deprecated and replaced with EVP_default_properties_enable_fips()

modify fips.go so it can link with libcrypto in the presence of a build with openssl 3.x

@ricky-charlet
Copy link
Author

not yet tested.
Fri Jun 24 3pm PST.
do not merge yet...

@ricky-charlet
Copy link
Author

Actually, this will fail in the presence of older openssl versions. You probably should not merge this.

@srajesh-elisity
Copy link

Based on the install HOST openssl version, Could we call FIPS_mode_set() or EVP_default_properties_enable_fips() ??

@ricky-charlet
Copy link
Author

Yes, Rajesh-elisity. That sounds like the right approach.

@ricky-charlet
Copy link
Author

My patch, as it is, succeeds in the presence of opnessl1.1+ or 3.x but fails in the presence of openssl1.0 or lower.

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