diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2019-08-27 22:00:34 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-27 16:31:19 +0200 |
commit | 5b3be0729c380661b8db8e499e31363882eb9129 (patch) | |
tree | 7f581695b2ee9a267c2671084f66b502d2616ca1 /lib/vquic/ngtcp2.h | |
parent | c1b6a384f9c8a91197c20adb49d43f30dc0e917d (diff) | |
download | curl-5b3be0729c380661b8db8e499e31363882eb9129.tar.gz |
ngtcp2: Build with latest ngtcp2 and ngtcp2_crypto_openssl
Closes #4270
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; |