aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKirill Zaborsky <[email protected]>2014-05-28 16:55:44 +0400
committerKirill Zaborsky <[email protected]>2014-05-28 16:55:44 +0400
commit7b93f5d8a224a0a076a420294c95a666a763ee60 (patch)
tree8acd3df0e5c050b088a93033ea828580aceae632 /lib
parent6b6cd01b607a1bfcf61bb6d5f4cc3fe9b37445db (diff)
downloadotp-7b93f5d8a224a0a076a420294c95a666a763ee60.tar.gz
otp-7b93f5d8a224a0a076a420294c95a666a763ee60.tar.bz2
otp-7b93f5d8a224a0a076a420294c95a666a763ee60.zip
ssl: Fix incorrect number of seconds in 24 hours
24 hours in seconds should be equal to 86400 and 86400000 in milliseconds
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/ssl_manager.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index fbc73e0e42..d6e5064c39 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -52,8 +52,8 @@
last_delay_timer = {undefined, undefined}%% Keep for testing purposes
}).
--define('24H_in_msec', 8640000).
--define('24H_in_sec', 8640).
+-define('24H_in_msec', 86400000).
+-define('24H_in_sec', 86400).
-define(GEN_UNIQUE_ID_MAX_TRIES, 10).
-define(SESSION_VALIDATION_INTERVAL, 60000).
-define(CLEAR_PEM_CACHE, 120000).