Commit 7104351c authored by Richard Levitte's avatar Richard Levitte
Browse files

test/exptest.c: stop marking progress with a period



Because we now have TAP output for every mod_exp round, there's no
more need to mark the round with outputting a period.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3380)
parent 7a4e6a1e
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -173,12 +173,9 @@ static int test_mod_exp(int round)
        || !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL)))
        goto err;

    if (TEST_int_eq(BN_cmp(r_simple, r_mont), 0)
        && TEST_int_eq(BN_cmp(r_simple, r_recp), 0)
        && TEST_int_eq(BN_cmp(r_simple, r_mont_const), 0)) {
        printf(".");
        fflush(stdout);
    } else {
    if (!TEST_int_eq(BN_cmp(r_simple, r_mont), 0)
        || !TEST_int_eq(BN_cmp(r_simple, r_recp), 0)
        || !TEST_int_eq(BN_cmp(r_simple, r_mont_const), 0)) {
        if (BN_cmp(r_simple, r_mont) != 0)
            fprintf(stderr, "simple and mont results differ\n");
        if (BN_cmp(r_simple, r_mont_const) != 0)