From f5bc76471f060d764a1fe4157ac4498bd5aba5b8 Mon Sep 17 00:00:00 2001 From: fastcome1985 Date: Thu, 30 Sep 2021 03:50:33 +0800 Subject: [PATCH] [BUGFIX]IETF QUIC v1(RFC9000) Retry Packet Integrity use draft-ietf-quic-tls-33 (or RFC9001) (#332) Co-authored-by: luojianxiang --- src/liblsquic/lsquic_ietf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liblsquic/lsquic_ietf.h b/src/liblsquic/lsquic_ietf.h index 367713c..d438de7 100644 --- a/src/liblsquic/lsquic_ietf.h +++ b/src/liblsquic/lsquic_ietf.h @@ -38,7 +38,7 @@ extern const unsigned char *const lsquic_retry_key_buf[N_IETF_RETRY_VERSIONS]; extern const unsigned char *const lsquic_retry_nonce_buf[N_IETF_RETRY_VERSIONS]; #define lsquic_version_2_retryver(ver_) ( \ (ver_) <= LSQVER_ID27 ? 0 : \ - (ver_) <= LSQVER_I001 ? 1 : \ + (ver_) < LSQVER_I001 ? 1 : \ 2) #endif