From 5b3be0729c380661b8db8e499e31363882eb9129 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 27 Aug 2019 22:00:34 +0900 Subject: ngtcp2: Build with latest ngtcp2 and ngtcp2_crypto_openssl Closes #4270 --- lib/vquic/ngtcp2.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/vquic/ngtcp2.h') 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 +#include #include #include -#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; -- cgit v1.2.3