Skip to content

Commit

Permalink
QUIC: Fix up whitespace nits introduced by PR openssl#11416
Browse files Browse the repository at this point in the history
Expand a couple literal tabs, and de-indent the body of a function.

Reviewed-by: Shane Lontis <[email protected]>
(Merged from openssl#11728)

(cherry picked from commit 35774d5)
  • Loading branch information
kaduk authored and tmshort committed Aug 24, 2021
1 parent f05fffe commit c9be599
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions ssl/ssl_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,11 +2217,11 @@ int SSL_renegotiate_pending(const SSL *s)

int SSL_new_session_ticket(SSL *s)
{
if (SSL_in_init(s) || SSL_IS_FIRST_HANDSHAKE(s) || !s->server
|| !SSL_IS_TLS13(s))
return 0;
s->ext.extra_tickets_expected++;
return 1;
if (SSL_in_init(s) || SSL_IS_FIRST_HANDSHAKE(s) || !s->server
|| !SSL_IS_TLS13(s))
return 0;
s->ext.extra_tickets_expected++;
return 1;
}

long SSL_ctrl(SSL *s, int cmd, long larg, void *parg)
Expand Down
4 changes: 2 additions & 2 deletions ssl/ssl_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -1320,8 +1320,8 @@ struct ssl_st {

/* RFC4507 session ticket expected to be received or sent */
int ticket_expected;
/* TLS 1.3 tickets requested by the application. */
int extra_tickets_expected;
/* TLS 1.3 tickets requested by the application. */
int extra_tickets_expected;
# ifndef OPENSSL_NO_EC
size_t ecpointformats_len;
/* our list */
Expand Down

0 comments on commit c9be599

Please sign in to comment.