mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 18:43:34 +08:00
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>
This commit is contained in:
parent
df7421ccb4
commit
70c9f1c878
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user