aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-12-12 15:39:24 +0100
committerIngela Anderton Andin <[email protected]>2018-12-13 15:32:18 +0100
commit0d6fb3f9c0740c74b0b9381d38f0360b9c81160d (patch)
treea35470388d04874f21c2dcb8b121df249d1de55e /lib/ssl/src/ssl_connection.hrl
parentba6534bb5b86ec4a5de3054f97dce8597ce96b0c (diff)
downloadotp-0d6fb3f9c0740c74b0b9381d38f0360b9c81160d.tar.gz
otp-0d6fb3f9c0740c74b0b9381d38f0360b9c81160d.tar.bz2
otp-0d6fb3f9c0740c74b0b9381d38f0360b9c81160d.zip
ssl: Fix downgrade
Both test case and code needed updates to work as intended. Code needed update due to new tls_sender process and the test case gave false positive reusult erarlier probably due to beeing to sloopy in order to avoid timeouts.
Diffstat (limited to 'lib/ssl/src/ssl_connection.hrl')
-rw-r--r--lib/ssl/src/ssl_connection.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl
index 8ddc3199e1..2f4dfefdda 100644
--- a/lib/ssl/src/ssl_connection.hrl
+++ b/lib/ssl/src/ssl_connection.hrl
@@ -59,7 +59,7 @@
socket_options :: #socket_options{},
session :: #session{} | secret_printout(),
allow_renegotiate = true ::boolean(),
- terminated = false ::boolean(),
+ terminated = false ::boolean() | closed,
negotiated_version :: ssl_record:ssl_version() | 'undefined',
bytes_to_read :: undefined | integer(), %% bytes to read in passive mode
downgrade,