Commit 4660252b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Compile with the latest ngtcp2

parent 51510f17
...@@ -243,7 +243,7 @@ ngtcp2_crypto_level from_ossl_level(OSSL_ENCRYPTION_LEVEL ossl_level) { ...@@ -243,7 +243,7 @@ ngtcp2_crypto_level from_ossl_level(OSSL_ENCRYPTION_LEVEL ossl_level) {
case ssl_encryption_handshake: case ssl_encryption_handshake:
return NGTCP2_CRYPTO_LEVEL_HANDSHAKE; return NGTCP2_CRYPTO_LEVEL_HANDSHAKE;
case ssl_encryption_application: case ssl_encryption_application:
return NGTCP2_CRYPTO_LEVEL_APP; return NGTCP2_CRYPTO_LEVEL_APPLICATION;
default: default:
assert(0); assert(0);
} }
...@@ -448,7 +448,7 @@ int Client::quic_on_key(ngtcp2_crypto_level level, const uint8_t *rx_secret, ...@@ -448,7 +448,7 @@ int Client::quic_on_key(ngtcp2_crypto_level level, const uint8_t *rx_secret,
return -1; return -1;
} }
if (level == NGTCP2_CRYPTO_LEVEL_APP) { if (level == NGTCP2_CRYPTO_LEVEL_APPLICATION) {
auto s = std::make_unique<Http3Session>(this); auto s = std::make_unique<Http3Session>(this);
if (s->init_conn() == -1) { if (s->init_conn() == -1) {
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment