Skip to content

Commit

Permalink
Fix whitespace nit in ossl_statem_server_pre_work
Browse files Browse the repository at this point in the history
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 <[email protected]>
(Merged from openssl#11416)
  • Loading branch information
kaduk committed May 1, 2020
1 parent 9011309 commit 6250282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssl/statem/statem_srvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6250282

Please sign in to comment.