[openssl] master update

Dr. Paul Dale pauli at openssl.org
Sat Mar 13 06:09:02 UTC 2021


The branch master has been updated
       via  234261f3a1a4fc88d51fde2007852c0a45e7ce8a (commit)
      from  0413b7bb9cbc63859972451e7a554171c2c1fddb (commit)


- Log -----------------------------------------------------------------
commit 234261f3a1a4fc88d51fde2007852c0a45e7ce8a
Author: Pauli <ppzgs1 at gmail.com>
Date:   Fri Mar 12 08:30:33 2021 +1000

    ssl: fix format specifier for size_t argument to BIO_printf
    
    Fixes #14519
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/14521)

-----------------------------------------------------------------------

Summary of changes:
 ssl/t1_enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");


More information about the openssl-commits mailing list