From 1c8e5046e5566e2e3d9ba45469485e8ef3dffc2d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 1 Dec 2020 14:57:51 +0900 Subject: [PATCH] Compile with the latest ngtcp2 --- src/h2load_quic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/h2load_quic.cc b/src/h2load_quic.cc index 720b7038..8863238f 100644 --- a/src/h2load_quic.cc +++ b/src/h2load_quic.cc @@ -243,7 +243,7 @@ ngtcp2_crypto_level from_ossl_level(OSSL_ENCRYPTION_LEVEL ossl_level) { case ssl_encryption_handshake: return NGTCP2_CRYPTO_LEVEL_HANDSHAKE; case ssl_encryption_application: - return NGTCP2_CRYPTO_LEVEL_APP; + return NGTCP2_CRYPTO_LEVEL_APPLICATION; default: assert(0); } @@ -448,7 +448,7 @@ int Client::quic_on_key(ngtcp2_crypto_level level, const uint8_t *rx_secret, return -1; } - if (level == NGTCP2_CRYPTO_LEVEL_APP) { + if (level == NGTCP2_CRYPTO_LEVEL_APPLICATION) { auto s = std::make_unique(this); if (s->init_conn() == -1) { return -1;