aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-03-12 10:45:45 +0100
committerIngela Anderton Andin <[email protected]>2019-03-21 10:08:45 +0100
commit8cb17b5a5cb28222f3bd0330d891d304518020fa (patch)
treefdcdb8796f2252ff224b128619d7be9c863c333e /lib/ssl/src/dtls_connection.erl
parent515c1d380dcf327ff92f9f727959620c96687be8 (diff)
downloadotp-8cb17b5a5cb28222f3bd0330d891d304518020fa.tar.gz
otp-8cb17b5a5cb28222f3bd0330d891d304518020fa.tar.bz2
otp-8cb17b5a5cb28222f3bd0330d891d304518020fa.zip
ssl: Remove default support for legacy versions
TLS-1.0, TLS-1.1 and DTLS-1.0 are now considered legacy
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].