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)
kaduk authored and wbl committed Feb 7, 2023
1 parent 6d950bb commit 0b03468
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
@@ -2234,11 +2234,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)
4 changes: 2 additions & 2 deletions ssl/ssl_local.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 0b03468

Please sign in to comment.