Skip to content

Commit

Permalink
quic_tls.c: Fix wrong format string when raising error
Browse files Browse the repository at this point in the history
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21823)
  • Loading branch information
t8m authored and hlandau committed Aug 25, 2023
1 parent 1cc8c53 commit 5ad3cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssl/quic/quic_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit 5ad3cc1

Please sign in to comment.