From: Benjamin Kaduk Date: Mon, 16 Mar 2020 18:25:12 +0000 (-0700) Subject: Fix whitespace nit in ossl_statem_server_pre_work X-Git-Tag: openssl-3.0.0-alpha2~105 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6250282f7fc37c5903d051174a69053a80e1b1bd;p=oweals%2Fopenssl.git Fix whitespace nit in ossl_statem_server_pre_work An 'if' clause was nestled against a previous closing brace as it if was an 'else if', but should properly stand on its own line. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/11416) --- diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index c463f22ce2..b11363db7a 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -736,7 +736,8 @@ WORK_STATE ossl_statem_server_pre_work(SSL *s, WORK_STATE wst) * Calls SSLfatal as required. */ return tls_finish_handshake(s, wst, 0, 0); - } if (SSL_IS_DTLS(s)) { + } + if (SSL_IS_DTLS(s)) { /* * We're into the last flight. We don't retransmit the last flight * unless we need to, so we don't use the timer