summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-02 16:49:59 +0200
committerBodo Möller <bodo@openssl.org>2002-08-02 16:49:59 +0200
commit5af7d1a3b8d3cfed3494460e20ad257dab4e4a0c (patch)
tree99958961859e12b19f5056271799fa1601b64713 /crypto/bn/bntest.c
parentRename implementations of method functions so that they match (diff)
downloadopenssl-5af7d1a3b8d3cfed3494460e20ad257dab4e4a0c.tar.xz
openssl-5af7d1a3b8d3cfed3494460e20ad257dab4e4a0c.zip
move GF2m tests to the end
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index 377b5ba590..9026b2888d 100644
--- a/crypto/bn/bntest.c
+++ b/crypto/bn/bntest.c
@@ -261,6 +261,14 @@ int main(int argc, char *argv[])
if (!test_exp(out,ctx)) goto err;
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");
if (!test_gf2m_add(out)) goto err;
BIO_flush(out);
@@ -297,14 +305,6 @@ int main(int argc, char *argv[])
if (!test_gf2m_mod_solve_quad(out,ctx)) goto err;
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);
BIO_free(out);