[openssl-dev] [openssl.org #4132] test/dsatest.c wrong argument to BIO_printf

Marcus Meissner via RT rt at openssl.org
Tue Nov 10 15:25:54 UTC 2015


Hi,

apply this patch ... 


commit c01f7e9e233e5e5dabd1ec01eb17198b0798e092
Author: Marcus Meissner <meissner at suse.de>
Date:   Tue Nov 10 16:24:51 2015 +0100

    fixed wrong argument to BIO_printf

diff --git a/test/dsatest.c b/test/dsatest.c
index 1f4b837..fe25352 100644
--- a/test/dsatest.c
+++ b/test/dsatest.c
@@ -247,7 +247,7 @@ static int dsa_cb(int p, int n, BN_GENCB *arg)
     (void)BIO_flush(BN_GENCB_get_arg(arg));
 
     if (!ok && (p == 0) && (num > 1)) {
-        BIO_printf((BIO *)arg, "error in dsatest\n");
+        BIO_printf(BN_GENCB_get_arg(arg), "error in dsatest\n");
         return 0;
     }
     return 1;

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod



More information about the openssl-dev mailing list