summaryrefslogtreecommitdiff
path: root/lib/vquic/ngtcp2.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2019-12-18 13:56:16 -0500
committerJay Satiro <raysatiro@yahoo.com>2019-12-20 00:34:58 -0500
commit10121a417d965af73224d43e85ed78af1f14064d (patch)
tree9457423800d13207331abfbd6a3068c56dc30e50 /lib/vquic/ngtcp2.h
parent25b69c482f45c7acd817920bd8fdf68887be51a2 (diff)
downloadcurl-10121a417d965af73224d43e85ed78af1f14064d.tar.gz
ngtcp2: Support the latest update key callback type
- Remove our cb_update_key in favor of ngtcp2's new ngtcp2_crypto_update_key_cb which does the same thing. Several days ago the ngtcp2_update_key callback function prototype was changed in ngtcp2/ngtcp2@42ce09c. Though it would be possible to fix up our cb_update_key for that change they also added ngtcp2_crypto_update_key_cb which does the same thing so we'll use that instead. Ref: https://github.com/ngtcp2/ngtcp2/commit/42ce09c Closes https://github.com/curl/curl/pull/4735
Diffstat (limited to 'lib/vquic/ngtcp2.h')
-rw-r--r--lib/vquic/ngtcp2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h
index 82b8d41e3..30d442fdd 100644
--- a/lib/vquic/ngtcp2.h
+++ b/lib/vquic/ngtcp2.h
@@ -46,9 +46,6 @@ struct quicsocket {
ngtcp2_settings settings;
SSL_CTX *sslctx;
SSL *ssl;
- uint8_t *rx_secret; /* malloced */
- uint8_t *tx_secret; /* points into the above buffer */
- size_t rx_secretlen;
struct quic_handshake crypto_data[3];
/* the last TLS alert description generated by the local endpoint */
uint8_t tls_alert;