aboutsummaryrefslogtreecommitdiff
path: root/lib/vquic/ngtcp2.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-11-18 11:27:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-11-18 14:46:12 +0100
commit82e4d029c5353d313e565cb9c2a5282454f87d9b (patch)
tree90c24056e58c64c0fa3687fd01fb1941cb48c111 /lib/vquic/ngtcp2.h
parenta72b6b9606d382e3c4b883484743735b3e2ed241 (diff)
ngtcp2: free used resources on disconnect
Fixes #4614 Closes #4615
Diffstat (limited to 'lib/vquic/ngtcp2.h')
-rw-r--r--lib/vquic/ngtcp2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h
index 62eae4895..82b8d41e3 100644
--- a/lib/vquic/ngtcp2.h
+++ b/lib/vquic/ngtcp2.h
@@ -49,7 +49,7 @@ struct quicsocket {
uint8_t *rx_secret; /* malloced */
uint8_t *tx_secret; /* points into the above buffer */
size_t rx_secretlen;
- struct quic_handshake client_crypto_data[3];
+ struct quic_handshake crypto_data[3];
/* the last TLS alert description generated by the local endpoint */
uint8_t tls_alert;
struct sockaddr_storage local_addr;