diff options
author | Zandra <[email protected]> | 2015-11-26 11:57:14 +0100 |
---|---|---|
committer | Zandra <[email protected]> | 2015-11-26 11:57:14 +0100 |
commit | 7cff7b6f315cce44c4f4eae6b6bf30e255314fd6 (patch) | |
tree | c19022525dbfb8447ed32643990d8831baced665 /lib/ssl/src/ssl_internal.hrl | |
parent | 3747f01d19676f6f8d5d8b0a05c9ddbf6d92be49 (diff) | |
parent | 120975c4fcb57ecd14031ac046f483e56a3daa4d (diff) | |
download | otp-7cff7b6f315cce44c4f4eae6b6bf30e255314fd6.tar.gz otp-7cff7b6f315cce44c4f4eae6b6bf30e255314fd6.tar.bz2 otp-7cff7b6f315cce44c4f4eae6b6bf30e255314fd6.zip |
Merge branch 'ppikula/fix-24h-macro' into maint
* ppikula/fix-24h-macro:
fix incorrect number of seconds in 24h macro The previous commit - 7b93f5d8a224a0a076a420294c95a666a763ee60 fixed the macro only in one place.
OTP-13141
Diffstat (limited to 'lib/ssl/src/ssl_internal.hrl')
-rw-r--r-- | lib/ssl/src/ssl_internal.hrl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl index 3851b2bc6e..8c7ed9c0d1 100644 --- a/lib/ssl/src/ssl_internal.hrl +++ b/lib/ssl/src/ssl_internal.hrl @@ -78,6 +78,9 @@ -define(ALL_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]). -define(MIN_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]). +-define('24H_in_msec', 86400000). +-define('24H_in_sec', 86400). + -record(ssl_options, { protocol :: tls | dtls, versions :: [ssl_record:ssl_version()], %% ssl_record:atom_version() in API |