summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErlang/OTP <otp@erlang.org>2022-09-02 14:10:27 +0200
committerErlang/OTP <otp@erlang.org>2022-09-02 14:10:27 +0200
commitff1adb5a510e220214edf3fc99780dbedc4c80fa (patch)
treeafd54f8901dce2e006e9a1aa1869723bc91d0b2a
parent915bc97afedc94d6c93a5d165a8b0eb72e64e742 (diff)
parent6a1baa36e4e6c1b682e8b48e0c141602e0b8e6e5 (diff)
downloaderlang-ff1adb5a510e220214edf3fc99780dbedc4c80fa.tar.gz
Merge branch 'kiko/ssl/unexpected-message-tls/OTP-18224' into maint-23
* kiko/ssl/unexpected-message-tls/OTP-18224: ssl: Correct guard check
-rw-r--r--lib/ssl/src/tls_gen_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_gen_connection.erl b/lib/ssl/src/tls_gen_connection.erl
index ce95a9ae23..0ae97e643a 100644
--- a/lib/ssl/src/tls_gen_connection.erl
+++ b/lib/ssl/src/tls_gen_connection.erl
@@ -356,8 +356,8 @@ handle_protocol_record(#ssl_tls{type = ?APPLICATION_DATA}, StateName,
} = State) when StateName == initial_hello;
StateName == hello;
StateName == certify;
- StateName == wait_cert_verify,
- StateName == wait_ocsp_stapling,
+ StateName == wait_cert_verify;
+ StateName == wait_ocsp_stapling;
StateName == abbreviated;
StateName == cipher
->