From: Pauli Date: Thu, 11 Mar 2021 22:30:33 +0000 (+1000) Subject: ssl: fix format specifier for size_t argument to BIO_printf X-Git-Tag: openssl-3.0.0-alpha14~293 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=234261f3a1a4fc88d51fde2007852c0a45e7ce8a;p=thirdparty%2Fopenssl.git ssl: fix format specifier for size_t argument to BIO_printf Fixes #14519 Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14521) --- diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index e45fdea0cb1..f4f752b8a05 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -564,7 +564,7 @@ int tls1_setup_key_block(SSL *s) s->s3.tmp.key_block = p; OSSL_TRACE_BEGIN(TLS) { - BIO_printf(trc_out, "key block length: %ld\n", num); + BIO_printf(trc_out, "key block length: %zu\n", num); BIO_printf(trc_out, "client random\n"); BIO_dump_indent(trc_out, s->s3.client_random, SSL3_RANDOM_SIZE, 4); BIO_printf(trc_out, "server random\n");