diff options
author | Dániel Szoboszlay <[email protected]> | 2015-10-14 15:45:32 +0200 |
---|---|---|
committer | Dániel Szoboszlay <[email protected]> | 2016-01-27 10:03:31 +0100 |
commit | 76d78818252f0223ee3cffe232a6333428d401a0 (patch) | |
tree | af837e150f262e0ddc0c68e1e97e3b523a770082 /lib/crypto/c_src/Makefile | |
parent | 6945881b99aeadaf9ed4ec1f8c7811538cee1405 (diff) | |
download | otp-76d78818252f0223ee3cffe232a6333428d401a0.tar.gz otp-76d78818252f0223ee3cffe232a6333428d401a0.tar.bz2 otp-76d78818252f0223ee3cffe232a6333428d401a0.zip |
Check the result of EC_GROUP_new_curve_* calls
The FIPS-enabled OpenSSL on RHEL disallows the use of < 256 bit prime
fields (like secp128r1 or secp160k1), and the EC_GROUP_new_cuve_GFp
call would return a NULL pointer for such fields. Not checking for
this failure could result in a segfault in the NIF code.
Diffstat (limited to 'lib/crypto/c_src/Makefile')
0 files changed, 0 insertions, 0 deletions