[BUGFIX]IETF QUIC v1(RFC9000) Retry Packet Integrity use draft-ietf-quic-tls-33 (or RFC9001) (#332)

Co-authored-by: luojianxiang <luojianxiang05@gmailcom>
This commit is contained in:
fastcome1985 2021-09-30 03:50:33 +08:00 committed by GitHub
parent 843f807b95
commit f5bc76471f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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