Mercurial > hg > nginx-quic
comparison src/event/quic/ngx_event_quic_tokens.c @ 8860:a2fbae359828 quic
QUIC: fixed indentation.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 16 Feb 2022 15:45:47 +0300 |
parents | 8f0f6407ae23 |
children | 3550b00d9dc8 |
comparison
equal
deleted
inserted
replaced
8859:8d11e2171697 | 8860:a2fbae359828 |
---|---|
25 | 25 |
26 ngx_int_t | 26 ngx_int_t |
27 ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, u_char *secret, | 27 ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, u_char *secret, |
28 u_char *token) | 28 u_char *token) |
29 { | 29 { |
30 ngx_str_t tmp; | 30 ngx_str_t tmp; |
31 | 31 |
32 tmp.data = secret; | 32 tmp.data = secret; |
33 tmp.len = NGX_QUIC_SR_KEY_LEN; | 33 tmp.len = NGX_QUIC_SR_KEY_LEN; |
34 | 34 |
35 if (ngx_quic_derive_key(c->log, "sr_token_key", &tmp, cid, token, | 35 if (ngx_quic_derive_key(c->log, "sr_token_key", &tmp, cid, token, |