summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_quic_protection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ngx_event_quic_protection.h')
-rw-r--r--src/event/ngx_event_quic_protection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/ngx_event_quic_protection.h b/src/event/ngx_event_quic_protection.h
index c9473f575..800184182 100644
--- a/src/event/ngx_event_quic_protection.h
+++ b/src/event/ngx_event_quic_protection.h
@@ -33,6 +33,9 @@ int ngx_quic_set_encryption_secret(ngx_pool_t *pool, ngx_ssl_conn_t *ssl_conn,
enum ssl_encryption_level_t level, const uint8_t *secret, size_t secret_len,
ngx_quic_secret_t *peer_secret);
+ngx_int_t ngx_quic_key_update(ngx_connection_t *c,
+ ngx_quic_secrets_t *current, ngx_quic_secrets_t *next);
+
ssize_t ngx_quic_encrypt(ngx_quic_header_t *pkt, ngx_ssl_conn_t *ssl_conn,
ngx_str_t *res);