summaryrefslogtreecommitdiff
path: root/lib/vquic/ngtcp2.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2019-08-10 17:06:50 +0900
committerDaniel Stenberg <daniel@haxx.se>2019-08-10 16:07:33 +0200
commitafce0620a29a98989f09f3cc4534534df5f74764 (patch)
treecf185f3c9141496e15dee1fcb7ae37205b0a84df /lib/vquic/ngtcp2.h
parent14b1fb1c68fd738ffb1dd4eff9615df6c0eee66f (diff)
downloadcurl-afce0620a29a98989f09f3cc4534534df5f74764.tar.gz
ngtcp2: make the QUIC handshake work
Closes #4209
Diffstat (limited to 'lib/vquic/ngtcp2.h')
-rw-r--r--lib/vquic/ngtcp2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h
index 8342c2c9b..73008015f 100644
--- a/lib/vquic/ngtcp2.h
+++ b/lib/vquic/ngtcp2.h
@@ -49,8 +49,13 @@ struct quicsocket {
struct Context crypto_ctx;
struct Context hs_crypto_ctx;
struct quic_handshake handshake;
+ 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;
};
#include "urldata.h"