aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_v1.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-11-07 09:51:01 +0100
committerPéter Dimitrov <[email protected]>2018-11-16 14:32:14 +0100
commit9284bc84039794cb732c8fe593b129b4623d79c7 (patch)
treeeec7523c21dffdd543ba0afbf886710a0a2d01aa /lib/ssl/src/tls_v1.erl
parent7b4d38c6cc95df1301945cd0e63fdf927189e2c1 (diff)
downloadotp-9284bc84039794cb732c8fe593b129b4623d79c7.tar.gz
otp-9284bc84039794cb732c8fe593b129b4623d79c7.tar.bz2
otp-9284bc84039794cb732c8fe593b129b4623d79c7.zip
ssl: Fix encode/decode of ClientHello (TLS 1.3)
- Fix handling of hello versions. TLS 1.3 ClientHello will use TLS 1.3 encoding. - Fix encoding/decoding of TLS records when record protection has not yet been engaged (NULL cipher). Change-Id: I7511d1a7751f1ec8c2f2f2fb3d21ddf80a3f428b
Diffstat (limited to 'lib/ssl/src/tls_v1.erl')
-rw-r--r--lib/ssl/src/tls_v1.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_v1.erl b/lib/ssl/src/tls_v1.erl
index 5665f5310e..8618355089 100644
--- a/lib/ssl/src/tls_v1.erl
+++ b/lib/ssl/src/tls_v1.erl
@@ -551,7 +551,7 @@ ecc_curves(_Minor, TLSCurves) ->
end
end, [], TLSCurves).
--spec groups(4 | all) -> [group()].
+-spec groups(4 | all | default) -> [group()].
groups(all) ->
[secp256r1,
secp384r1,