aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test/crypto_SUITE.erl
diff options
context:
space:
mode:
authorDániel Szoboszlay <[email protected]>2015-10-14 15:45:32 +0200
committerDániel Szoboszlay <[email protected]>2016-01-27 10:03:31 +0100
commit76d78818252f0223ee3cffe232a6333428d401a0 (patch)
treeaf837e150f262e0ddc0c68e1e97e3b523a770082 /lib/crypto/test/crypto_SUITE.erl
parent6945881b99aeadaf9ed4ec1f8c7811538cee1405 (diff)
downloadotp-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/test/crypto_SUITE.erl')
0 files changed, 0 insertions, 0 deletions