[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Thu Oct 20 07:45:43 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  cdb203f49a555cbc94431e9d83df6c93208fb610 (commit)
      from  0df1caa77b793d055714f4d78d9aac7a985babb8 (commit)


- Log -----------------------------------------------------------------
commit cdb203f49a555cbc94431e9d83df6c93208fb610
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Oct 20 09:07:06 2016 +0200

    %p takes void*, so make sure to cast arguments to void*
    
    This avoids failures when configuring with --strict-warnings
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/1749)

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

Summary of changes:
 apps/s_cb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/s_cb.c b/apps/s_cb.c
index d1a99a7..7d71954 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -548,12 +548,12 @@ long MS_CALLBACK bio_dump_callback(BIO *bio, int cmd, const char *argp,
 
     if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) {
         BIO_printf(out, "read from %p [%p] (%lu bytes => %ld (0x%lX))\n",
-                   (void *)bio, argp, (unsigned long)argi, ret, ret);
+                   (void *)bio, (void *)argp, (unsigned long)argi, ret, ret);
         BIO_dump(out, argp, (int)ret);
         return (ret);
     } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) {
         BIO_printf(out, "write to %p [%p] (%lu bytes => %ld (0x%lX))\n",
-                   (void *)bio, argp, (unsigned long)argi, ret, ret);
+                   (void *)bio, (void *)argp, (unsigned long)argi, ret, ret);
         BIO_dump(out, argp, (int)ret);
     }
     return (ret);


More information about the openssl-commits mailing list