From 6a1baa36e4e6c1b682e8b48e0c141602e0b8e6e5 Mon Sep 17 00:00:00 2001 From: Kiko Fernandez-Reyes Date: Fri, 26 Aug 2022 13:52:13 +0200 Subject: ssl: Correct guard check --- lib/ssl/src/tls_gen_connection.erl | 4 ++-- 1 file 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 -> -- cgit v1.2.1