Skip to content

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

2 participants