diff options
author | Pauli <ppzgs1@gmail.com> | 2021-03-11 23:30:33 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-13 07:08:33 +0100 |
commit | 234261f3a1a4fc88d51fde2007852c0a45e7ce8a (patch) | |
tree | fadcd3976a570c84b4450f8a8b1e191914b9b359 /ssl/t1_enc.c | |
parent | acvp_test: Do not expect exact number of self tests (diff) | |
download | openssl-234261f3a1a4fc88d51fde2007852c0a45e7ce8a.tar.xz openssl-234261f3a1a4fc88d51fde2007852c0a45e7ce8a.zip |
ssl: fix format specifier for size_t argument to BIO_printf
Fixes #14519
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14521)
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index e45fdea0cb..f4f752b8a0 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"); |