aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-05-24 09:22:14 +0000
committerErlang/OTP <[email protected]>2010-05-24 09:22:14 +0000
commit458dcb10f98bffd241a837cbac7c108eb485f706 (patch)
treeec105b11324893bdd3636a7f30146e8a99a9667c /lib/ssl
parentb4cf98931b0414ea0e038825cb7502a40ad333b5 (diff)
downloadotp-458dcb10f98bffd241a837cbac7c108eb485f706.tar.gz
otp-458dcb10f98bffd241a837cbac7c108eb485f706.tar.bz2
otp-458dcb10f98bffd241a837cbac7c108eb485f706.zip
Fixed session validation bug thanks to cover.
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/src/ssl_manager.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index 8b5d9221bc..7a0192a80f 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -333,7 +333,7 @@ init_session_validator([Cache, CacheCb, LifeTime]) ->
CacheCb:foldl(fun session_validation/2,
LifeTime, Cache).
-session_validation({{Host, Port, _}, Session}, LifeTime) ->
+session_validation({{{Host, Port}, _}, Session}, LifeTime) ->
validate_session(Host, Port, Session, LifeTime),
LifeTime;
session_validation({{Port, _}, Session}, LifeTime) ->