Skip to content

Commit

Permalink
dsatest: use the correct BIO to print the test error
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
  • Loading branch information
msmeissn authored and Rich Salz committed Jan 22, 2016
1 parent df7421c commit 70c9f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dsatest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 70c9f1c

Please sign in to comment.