quic_tls.c: Fix wrong format string when raising error

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)
This commit is contained in:
Tomas Mraz 2023-08-23 19:52:39 +02:00 committed by Hugo Landau
parent 1cc8c53b0f
commit 5ad3cc1928

View File

@ -671,8 +671,8 @@ static int raise_error(QUIC_TLS *qtls, uint64_t error_code,
ERR_new();
ERR_set_debug(src_file, src_line, src_func);
ERR_set_error(ERR_LIB_SSL, SSL_R_QUIC_HANDSHAKE_LAYER_ERROR,
"handshake layer error, error code %zu (\"%s\")",
error_code, error_msg);
"handshake layer error, error code %llu (\"%s\")",
(unsigned long long)error_code, error_msg);
OSSL_ERR_STATE_save_to_mark(qtls->error_state);
/*