diff options
author | Sverker Eriksson <[email protected]> | 2016-02-08 18:48:42 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-02-08 18:48:42 +0100 |
commit | 8edd580904f284123a56547efc5b43d5d35664e3 (patch) | |
tree | d448c238c75e4b8395a3ef3c8113566b829d4083 /lib/ssl/test/erl_make_certs.erl | |
parent | 6392637b184ac3172c61025889f3087e5739bb72 (diff) | |
parent | 3c56cb7a4c3bcb8a089c0b83375aad46c010a9b7 (diff) | |
download | otp-8edd580904f284123a56547efc5b43d5d35664e3.tar.gz otp-8edd580904f284123a56547efc5b43d5d35664e3.tar.bz2 otp-8edd580904f284123a56547efc5b43d5d35664e3.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/test/erl_make_certs.erl')
-rw-r--r-- | lib/ssl/test/erl_make_certs.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssl/test/erl_make_certs.erl b/lib/ssl/test/erl_make_certs.erl index 8e909a5b74..f5cada9021 100644 --- a/lib/ssl/test/erl_make_certs.erl +++ b/lib/ssl/test/erl_make_certs.erl @@ -334,7 +334,9 @@ make_key(dsa, _Opts) -> gen_dsa2(128, 20); %% Bytes i.e. {1024, 160} make_key(ec, _Opts) -> %% (OBS: for testing only) - gen_ec2(secp256k1). + CurveOid = hd(tls_v1:ecc_curves(0)), + NamedCurve = pubkey_cert_records:namedCurves(CurveOid), + gen_ec2(NamedCurve). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% RSA key generation (OBS: for testing only) |