aboutsummaryrefslogtreecommitdiffstats
path: root/test/dsatest.c
diff options
context:
space:
mode:
authorMarcus Meissner <meissner@suse.de>2015-12-03 15:19:53 +0100
committerRich Salz <rsalz@openssl.org>2016-01-22 11:48:51 -0500
commit70c9f1c878502ccb717fbec54cecfc17187cf501 (patch)
tree49419d44728f7c4c1031593baacb9a984b84dbf4 /test/dsatest.c
parentdf7421ccb45fffc1dd81be6e1296fa8a3b512d10 (diff)
downloadopenssl-70c9f1c878502ccb717fbec54cecfc17187cf501.tar.gz
dsatest: use the correct BIO to print the test error
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'test/dsatest.c')
-rw-r--r--test/dsatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsatest.c b/test/dsatest.c
index 8190e6f2ee..1f2c259fee 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;