aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-03-22 08:50:53 +0100
committerIngela Anderton Andin <[email protected]>2019-03-22 08:50:53 +0100
commit86184644edc60f03be13b5dcb143a7ac425eccc9 (patch)
tree2c42c268366bec498ae8c11d858b1fc30a9b9aee /lib/ssl/src/dtls_connection.erl
parent929b22622da2b64f19a2ec708780004e0ef1524a (diff)
parent8cb17b5a5cb28222f3bd0330d891d304518020fa (diff)
downloadotp-86184644edc60f03be13b5dcb143a7ac425eccc9.tar.gz
otp-86184644edc60f03be13b5dcb143a7ac425eccc9.tar.bz2
otp-86184644edc60f03be13b5dcb143a7ac425eccc9.zip
Merge branch 'ingela/ssl/default-supported-versions/OTP-14865'
* ingela/ssl/default-supported-versions/OTP-14865: ssl: Remove default support for legacy versions
Diffstat (limited to 'lib/ssl/src/dtls_connection.erl')
-rw-r--r--lib/ssl/src/dtls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl
index ed47980a69..30b2ab7c4f 100644
--- a/lib/ssl/src/dtls_connection.erl
+++ b/lib/ssl/src/dtls_connection.erl
@@ -840,7 +840,7 @@ next_dtls_record(Data, StateName, #state{protocol_buffers = #protocol_buffers{
end.
acceptable_record_versions(hello, _) ->
- [dtls_record:protocol_version(Vsn) || Vsn <- ?ALL_DATAGRAM_SUPPORTED_VERSIONS];
+ [dtls_record:protocol_version(Vsn) || Vsn <- ?ALL_AVAILABLE_DATAGRAM_VERSIONS];
acceptable_record_versions(_, #state{connection_env = #connection_env{negotiated_version = Version}}) ->
[Version].