aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-06-20 17:59:02 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-06-20 17:59:02 +0400
commitdc9017ee482ef2ffad822942f78c07ee210b205a (patch)
treedc2bdf2eda89b35dcc4896d46f9bf9296304c33c
parent68690b034580f6ec04fafdbbcb6a4e817f8a330b (diff)
downloadnginx-dc9017ee482ef2ffad822942f78c07ee210b205a.tar.gz
nginx-dc9017ee482ef2ffad822942f78c07ee210b205a.zip
QUIC: style.
-rw-r--r--src/event/quic/ngx_event_quic_protection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event/quic/ngx_event_quic_protection.c b/src/event/quic/ngx_event_quic_protection.c
index 9aa1c3580..9e731e391 100644
--- a/src/event/quic/ngx_event_quic_protection.c
+++ b/src/event/quic/ngx_event_quic_protection.c
@@ -352,8 +352,7 @@ failed:
static ngx_int_t
ngx_quic_tls_open(const ngx_quic_cipher_t *cipher, ngx_quic_secret_t *s,
- ngx_str_t *out, u_char *nonce, ngx_str_t *in, ngx_str_t *ad,
- ngx_log_t *log)
+ ngx_str_t *out, u_char *nonce, ngx_str_t *in, ngx_str_t *ad, ngx_log_t *log)
{
#ifdef OPENSSL_IS_BORINGSSL
@@ -563,10 +562,11 @@ ngx_quic_tls_seal(const ngx_quic_cipher_t *cipher, ngx_quic_secret_t *s,
return NGX_ERROR;
}
- EVP_CIPHER_CTX_free(ctx);
-
out->len += NGX_QUIC_TAG_LEN;
+
+ EVP_CIPHER_CTX_free(ctx);
#endif
+
return NGX_OK;
}