summaryrefslogtreecommitdiff
path: root/lib/ssl/src/ssl_internal.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2017-03-07 11:18:07 +0100
committerIngela Anderton Andin <ingela@erlang.org>2017-03-07 11:18:07 +0100
commit51d486c31096287d994cf9a02f1335336eda5e93 (patch)
treee49d133e93751abf062aacd090d672ce57f6d3f9 /lib/ssl/src/ssl_internal.hrl
parentd795732ea0fdd669a0b6dc60b199374b432c7cfb (diff)
downloaderlang-51d486c31096287d994cf9a02f1335336eda5e93.tar.gz
dtls: 'dtlsv1.2' corresponds to 'tlsv1.2'
'dtlsv1.2' should not be included in MIN_DATAGRAM_SUPPORTED_VERSIONS as this is the default when crypto does not have sufficient support for 'tlsv1.2' and 'dtlsv1.2'
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r--lib/ssl/src/ssl_internal.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index c34af9f82c..c10ec3a2d6 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -76,7 +76,7 @@
-define(ALL_SUPPORTED_VERSIONS, ['tlsv1.2', 'tlsv1.1', tlsv1]).
-define(MIN_SUPPORTED_VERSIONS, ['tlsv1.1', tlsv1]).
-define(ALL_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]).
--define(MIN_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]).
+-define(MIN_DATAGRAM_SUPPORTED_VERSIONS, [dtlsv1]).
-define('24H_in_msec', 86400000).
-define('24H_in_sec', 86400).