aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_session_cache.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-09-16 10:49:34 +0200
committerIngela Anderton Andin <[email protected]>2015-09-16 10:49:34 +0200
commit36502d2334744bf841457119d6907c4edbd72109 (patch)
tree9f82af2fc7cf74e0c32e944c05887b36bf0e7b33 /lib/ssl/src/ssl_session_cache.erl
parent32ab15bc18d547efddb79952c47fdb0e6e4edae3 (diff)
parentc019481b3ff418de76886b955ba9238a12ea856a (diff)
downloadotp-36502d2334744bf841457119d6907c4edbd72109.tar.gz
otp-36502d2334744bf841457119d6907c4edbd72109.tar.bz2
otp-36502d2334744bf841457119d6907c4edbd72109.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/ssl_session_cache.erl')
-rw-r--r--lib/ssl/src/ssl_session_cache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_session_cache.erl b/lib/ssl/src/ssl_session_cache.erl
index 11ed310477..cfc48cd935 100644
--- a/lib/ssl/src/ssl_session_cache.erl
+++ b/lib/ssl/src/ssl_session_cache.erl
@@ -83,7 +83,7 @@ foldl(Fun, Acc0, Cache) ->
%%--------------------------------------------------------------------
select_session(Cache, PartialKey) ->
ets:select(Cache,
- [{{{PartialKey,'$1'}, '$2'},[],['$$']}]).
+ [{{{PartialKey,'_'}, '$1'},[],['$1']}]).
%%--------------------------------------------------------------------
%%% Internal functions