mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
QUIC: fixed clang-ast asserts.
This commit is contained in:
parent
154536a64f
commit
b64446f6f9
2 changed files with 2 additions and 2 deletions
|
|
@ -1237,7 +1237,7 @@ ngx_quic_init_connection(ngx_connection_t *c)
|
|||
}
|
||||
|
||||
ngx_quic_hexdump(c->log, "quic stateless reset token",
|
||||
qc->tp.sr_token, NGX_QUIC_SR_TOKEN_LEN);
|
||||
qc->tp.sr_token, (size_t) NGX_QUIC_SR_TOKEN_LEN);
|
||||
}
|
||||
|
||||
len = ngx_quic_create_transport_params(NULL, NULL, &qc->tp, &clen);
|
||||
|
|
|
|||
|
|
@ -972,7 +972,7 @@ ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, ngx_str_t *secret,
|
|||
|
||||
#if (NGX_DEBUG)
|
||||
ngx_quic_hexdump(c->log, "quic stateless reset token", token,
|
||||
NGX_QUIC_SR_TOKEN_LEN);
|
||||
(size_t) NGX_QUIC_SR_TOKEN_LEN);
|
||||
#endif
|
||||
|
||||
return NGX_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue