Backport from HEAD:
[openssl.git] / crypto / bn / bn_gf2m.c
index 527b0fa15be51ada3725d3d77704b26e8f8619ff..3bf017feda7e804370acc7c277665e163466594e 100644 (file)
@@ -94,6 +94,8 @@
 #include "cryptlib.h"
 #include "bn_lcl.h"
 
+#ifndef OPENSSL_NO_EC2M
+
 /* Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should fail. */
 #define MAX_ITERATIONS 50
 
@@ -1032,3 +1034,4 @@ int BN_GF2m_arr2poly(const int p[], BIGNUM *a)
        return 1;
        }
 
+#endif