summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_protection.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2022-07-27 17:16:40 +0400
committerVladimir Homutov <vl@nginx.com>2022-07-27 17:16:40 +0400
commit93c21be4d6184842b20541be190c630ec042b66a (patch)
treef946efc625dbe11bf507821a1b0c4a0711aa3720 /src/event/quic/ngx_event_quic_protection.h
parent16bb8459d0118a7745751efd3388e117ee69146c (diff)
downloadnginx-93c21be4d6184842b20541be190c630ec042b66a.tar.gz
nginx-93c21be4d6184842b20541be190c630ec042b66a.tar.bz2
QUIC: avoided pool usage in ngx_quic_protection.c.
Diffstat (limited to 'src/event/quic/ngx_event_quic_protection.h')
-rw-r--r--src/event/quic/ngx_event_quic_protection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event/quic/ngx_event_quic_protection.h b/src/event/quic/ngx_event_quic_protection.h
index ff375b510..a9d721274 100644
--- a/src/event/quic/ngx_event_quic_protection.h
+++ b/src/event/quic/ngx_event_quic_protection.h
@@ -18,9 +18,9 @@
ngx_quic_keys_t *ngx_quic_keys_new(ngx_pool_t *pool);
-ngx_int_t ngx_quic_keys_set_initial_secret(ngx_pool_t *pool,
- ngx_quic_keys_t *keys, ngx_str_t *secret);
-ngx_int_t ngx_quic_keys_set_encryption_secret(ngx_pool_t *pool,
+ngx_int_t ngx_quic_keys_set_initial_secret(ngx_quic_keys_t *keys,
+ ngx_str_t *secret, ngx_log_t *log);
+ngx_int_t ngx_quic_keys_set_encryption_secret(ngx_log_t *log,
ngx_uint_t is_write, ngx_quic_keys_t *keys,
enum ssl_encryption_level_t level, const SSL_CIPHER *cipher,
const uint8_t *secret, size_t secret_len);