summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2022-07-27 17:31:16 +0400
committerVladimir Homutov <vl@nginx.com>2022-07-27 17:31:16 +0400
commit664cb29f5240768988cfa02834bebfddeb32cfc9 (patch)
tree17d3857a459cce9af01c1ea80884920a050986fc /src/event/quic/ngx_event_quic.c
parent93c21be4d6184842b20541be190c630ec042b66a (diff)
downloadnginx-664cb29f5240768988cfa02834bebfddeb32cfc9.tar.gz
nginx-664cb29f5240768988cfa02834bebfddeb32cfc9.tar.bz2
QUIC: removed ngx_quic_keys_new().
The ngx_quic_keys_t structure is now exposed.
Diffstat (limited to '')
-rw-r--r--src/event/quic/ngx_event_quic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c
index e82fe129a..a1abd267d 100644
--- a/src/event/quic/ngx_event_quic.c
+++ b/src/event/quic/ngx_event_quic.c
@@ -238,7 +238,7 @@ ngx_quic_new_connection(ngx_connection_t *c, ngx_quic_conf_t *conf,
return NULL;
}
- qc->keys = ngx_quic_keys_new(c->pool);
+ qc->keys = ngx_pcalloc(c->pool, sizeof(ngx_quic_keys_t));
if (qc->keys == NULL) {
return NULL;
}