move GF2m tests to the end

This commit is contained in:
Bodo Möller 2002-08-02 14:49:59 +00:00
parent 35b73a1f20
commit 5af7d1a3b8

View File

@ -261,6 +261,14 @@ int main(int argc, char *argv[])
if (!test_exp(out,ctx)) goto err; if (!test_exp(out,ctx)) goto err;
BIO_flush(out); BIO_flush(out);
message(out,"BN_kronecker");
if (!test_kron(out,ctx)) goto err;
BIO_flush(out);
message(out,"BN_mod_sqrt");
if (!test_sqrt(out,ctx)) goto err;
BIO_flush(out);
message(out,"BN_GF2m_add"); message(out,"BN_GF2m_add");
if (!test_gf2m_add(out)) goto err; if (!test_gf2m_add(out)) goto err;
BIO_flush(out); BIO_flush(out);
@ -297,14 +305,6 @@ int main(int argc, char *argv[])
if (!test_gf2m_mod_solve_quad(out,ctx)) goto err; if (!test_gf2m_mod_solve_quad(out,ctx)) goto err;
BIO_flush(out); BIO_flush(out);
message(out,"BN_kronecker");
if (!test_kron(out,ctx)) goto err;
BIO_flush(out);
message(out,"BN_mod_sqrt");
if (!test_sqrt(out,ctx)) goto err;
BIO_flush(out);
BN_CTX_free(ctx); BN_CTX_free(ctx);
BIO_free(out); BIO_free(out);