quic: using #defined constant rather than a magic number

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21429)
This commit is contained in:
Pauli 2023-07-25 12:06:45 +10:00
parent bed2087487
commit 029ddd1ead
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ typedef struct ossl_quic_frame_new_conn_id_st {
uint64_t seq_num;
uint64_t retire_prior_to;
QUIC_CONN_ID conn_id;
unsigned char stateless_reset_token[16];
unsigned char stateless_reset_token[QUIC_STATELESS_RESET_TOKEN_LEN];
} OSSL_QUIC_FRAME_NEW_CONN_ID;
/* QUIC Frame: CONNECTION_CLOSE */