aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorAndrey Mayorov <[email protected]>2015-12-11 03:23:53 +0300
committerIngela Anderton Andin <[email protected]>2015-12-11 17:52:02 +0100
commit4f13b9838c5f7e182661398418065b09716034f2 (patch)
tree1b6519883f46976ff4dc0910ddf91b73adbbccbb /lib/ssl/src
parent76b9c79d439adffe1a55f5833e14f74ed1630390 (diff)
downloadotp-4f13b9838c5f7e182661398418065b09716034f2.tar.gz
otp-4f13b9838c5f7e182661398418065b09716034f2.tar.bz2
otp-4f13b9838c5f7e182661398418065b09716034f2.zip
ssl: fix hibernate_after with instant or near instant timeouts
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/tls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index a468c131ce..b2b85eaf8d 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -212,7 +212,7 @@ hello(Hello = #client_hello{client_version = ClientVersion,
client_ecc = {EllipticCurves, EcPointFormats},
negotiated_protocol = Protocol}, ?MODULE)
end;
-hello(Hello,
+hello(Hello = #server_hello{},
#state{connection_states = ConnectionStates0,
negotiated_version = ReqVersion,
role = client,