From: Marcus Meissner Date: Thu, 3 Dec 2015 14:19:53 +0000 (+0100) Subject: dsatest: use the correct BIO to print the test error X-Git-Tag: OpenSSL_1_1_0-pre3~459 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70c9f1c878502ccb717fbec54cecfc17187cf501;p=thirdparty%2Fopenssl.git dsatest: use the correct BIO to print the test error Signed-off-by: Rich Salz Reviewed-by: Kurt Roeckx --- diff --git a/test/dsatest.c b/test/dsatest.c index 8190e6f2eed..1f2c259fee8 100644 --- a/test/dsatest.c +++ b/test/dsatest.c @@ -248,7 +248,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;