forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: Workaround fips bug causing RAND_bytes to fail
Symtom: RAND_bytes fails on Ubuntu pro with fips enabled. Problem: init_curve_types() switched FIPS mode off and on again (and generates random keys) which seem to cause RAND_bytes to fail accessing its fips provider. Solution: Remove init_curve_types() call at init as this check will be done by get_curve_cnt() anyway first time crypto:supports(curves) is called.
- Loading branch information
Showing
1 changed file
with
5 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters