New option to disable characteristic two fields in EC code.
[openssl.git] / crypto / ecdsa / ecdsatest.c
index aa4e1481a8f3439427bb237982c72e6e4db533f5..d5245344484ffd31b00fb8e89ab4f5885f73d259 100644 (file)
@@ -263,6 +263,7 @@ int x9_62_tests(BIO *out)
                "3238135532097973577080787768312505059318910517550078427819"
                "78505179448783"))
                goto x962_err;
+#ifndef OPENSSL_NO_EC2M
        if (!x9_62_test_internal(out, NID_X9_62_c2tnb191v1,
                "87194383164871543355722284926904419997237591535066528048",
                "308992691965804947361541664549085895292153777025772063598"))
@@ -273,7 +274,7 @@ int x9_62_tests(BIO *out)
                "1970303740007316867383349976549972270528498040721988191026"
                "49413465737174"))
                goto x962_err;
-
+#endif
        ret = 1;
 x962_err:
        if (!restore_rand())