Sun has agreed to removing the covenant language from most files.
[openssl.git] / crypto / bn / bntest.c
index 377b5ba59047b03558414a0fbf9e2a0e113fb66e..689683a52d6d5a26f69a0061a1258035fc347549 100644 (file)
  * The Contribution is licensed pursuant to the Eric Young open source
  * license provided above.
  *
- * In addition, Sun covenants to all licensees who provide a reciprocal
- * covenant with respect to their own patents if any, not to sue under
- * current and future patent claims necessarily infringed by the making,
- * using, practicing, selling, offering for sale and/or otherwise
- * disposing of the Contribution as delivered hereunder 
- * (or portions thereof), provided that such covenant shall not apply:
- *  1) for code that a licensee deletes from the Contribution;
- *  2) separates from the Contribution; or
- *  3) for infringements caused by:
- *       i) the modification of the Contribution or
- *      ii) the combination of the Contribution with other software or
- *          devices where such combination causes the infringement.
- *
  * The binary polynomial arithmetic software is originally written by 
  * Sheueling Chang Shantz and Douglas Stebila of Sun Microsystems Laboratories.
  *
@@ -261,6 +248,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 +292,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);