diff options
author | Marcus Meissner <meissner@suse.de> | 2015-12-03 15:19:53 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-22 17:48:51 +0100 |
commit | 70c9f1c878502ccb717fbec54cecfc17187cf501 (patch) | |
tree | 49419d44728f7c4c1031593baacb9a984b84dbf4 /test/dsatest.c | |
parent | few typo fixes (diff) | |
download | openssl-70c9f1c878502ccb717fbec54cecfc17187cf501.tar.xz openssl-70c9f1c878502ccb717fbec54cecfc17187cf501.zip |
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.c | 2 |
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; |