Commit 70c9f1c8 authored by Marcus Meissner's avatar Marcus Meissner Committed by Rich Salz
Browse files

dsatest: use the correct BIO to print the test error



Signed-off-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
parent df7421cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;