The latest version of OpenSSL doesn't support the FIPS_mode() check, and the C based Zookeeper Client relies on it existing. A previous pull request #319 has solved this for Linux. This one will enable it for Mac OS X systems too. A somewhat hacky solution is made for Windows systems.
Description
run patch command on both Linux and Mac OS X.
run the 'sed' command for Windows systems, to remove the FIPS_mode check by search-and-replace.
Motivation and Context
How Has This Been Tested?
CircleCI testing and builds ✅
Tested on windows: a Zookeeper server running locally, connecting the client by running "node examples/index.js".
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
The latest version of OpenSSL doesn't support the
FIPS_mode()
check, and the C based Zookeeper Client relies on it existing. A previous pull request #319 has solved this for Linux. This one will enable it for Mac OS X systems too. A somewhat hacky solution is made for Windows systems.Description
Motivation and Context
How Has This Been Tested?
CircleCI testing and builds ✅ Tested on windows: a Zookeeper server running locally, connecting the client by running "node examples/index.js".
Types of changes
Checklist: