Oops^2: It was the correct line, but an incorrect change.
[oweals/openssl.git] / crypto / ec / ec_cvt.c
index 361dcc3992dd505f0c82e804230c40105899abe9..45b0ec33a0ba370c3b732bd4c91d3ff185592c06 100644 (file)
@@ -63,8 +63,8 @@ EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM
        
        /* Finally, this will use EC_GFp_nist_method if 'p' is a special
         * prime with optimized modular arithmetics (for NIST curves)
-        * and EC_GFp_mont_method or EC_GFp_recp_method otherwise. */
-       meth = EC_GFp_simple_method();
+        */
+       meth = EC_GFp_mont_method();
        
        ret = EC_GROUP_new(meth);
        if (ret == NULL)