diff options
author | Ingela Anderton Andin <[email protected]> | 2018-07-05 10:40:13 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-07-05 15:15:26 +0200 |
commit | a492841c3305ed680e364101a5fc8cd32602a737 (patch) | |
tree | 959f9edfdd92f5fd52e5b5ddbd7d5e5d5cf7e215 /lib/ssl/src/ssl_handshake.erl | |
parent | c9f236377e96640bc9a271449635ac58d80bf40f (diff) | |
download | otp-a492841c3305ed680e364101a5fc8cd32602a737.tar.gz otp-a492841c3305ed680e364101a5fc8cd32602a737.tar.bz2 otp-a492841c3305ed680e364101a5fc8cd32602a737.zip |
ssl: Correct connection_information on ECC-curves
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index a6365f1bd3..4d0bdd6386 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -2433,13 +2433,7 @@ cert_curve(Cert, ECCCurve0, CipherSuite) -> #'OTPSubjectPublicKeyInfo'{algorithm = AlgInfo} = TBSCert#'OTPTBSCertificate'.subjectPublicKeyInfo, {namedCurve, Oid} = AlgInfo#'PublicKeyAlgorithm'.parameters, - try pubkey_cert_records:namedCurves(Oid) of - Curve -> - {{named_curve, Curve}, CipherSuite} - catch - _:_ -> - {no_curve, no_suite} - end; + {{namedCurve, Oid}, CipherSuite}; _ -> {ECCCurve0, CipherSuite} end. |