diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index ec35f1f22f6e3..4ae2e7ecc0b22 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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) diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 2ac1fa00593ef..49402b16c3e67 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -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 */