diff options
Diffstat (limited to 'lib/vquic/ngtcp2.h')
-rw-r--r-- | lib/vquic/ngtcp2.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h index 4937fe1e9..19987db94 100644 --- a/lib/vquic/ngtcp2.h +++ b/lib/vquic/ngtcp2.h @@ -27,9 +27,9 @@ #ifdef USE_NGTCP2 #include <ngtcp2/ngtcp2.h> +#include <ngtcp2/ngtcp2_crypto.h> #include <nghttp3/nghttp3.h> #include <openssl/ssl.h> -#include "ngtcp2-crypto.h" struct quic_handshake { char *buf; /* pointer to the buffer */ @@ -47,14 +47,10 @@ struct quicsocket { ngtcp2_settings settings; SSL_CTX *sslctx; SSL *ssl; - struct Context crypto_ctx; - struct Context hs_crypto_ctx; - struct quic_handshake handshake; + ngtcp2_crypto_ctx crypto_ctx; struct quic_handshake client_crypto_data[3]; /* the last TLS alert description generated by the local endpoint */ uint8_t tls_alert; - ngtcp2_crypto_level tx_crypto_level; - ngtcp2_crypto_level rx_crypto_level; struct sockaddr_storage local_addr; socklen_t local_addrlen; |