diff options
author | Pauli <pauli@openssl.org> | 2023-07-25 12:06:45 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-08-04 11:55:45 +1000 |
commit | 029ddd1eadd3218017de5e6256363d09b7e015f8 (patch) | |
tree | 8ce93b1d7881dccc5eb1d748fbb60f80076b6fe5 /include | |
parent | bed20874870da6cf5fa60734964072504563fdac (diff) |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_wire.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/quic_wire.h b/include/internal/quic_wire.h index d6423415ea..ee8f7e76cb 100644 --- a/include/internal/quic_wire.h +++ b/include/internal/quic_wire.h @@ -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 */ |