remove unnecessary calls to EC_POINT_copy()
[openssl.git] / crypto / ec / ectest.c
index d720050859ed05b6ecef3e6a5b2c5e8c47849b4f..243cd83fb54aa7d0cb5ebc06b0a8a74dd7e080ed 100644 (file)
@@ -156,7 +156,12 @@ int main(int argc, char *argv[])
        if (!((getenv("OPENSSL_DEBUG_MEMORY") != NULL) && (0 == strcmp(getenv("OPENSSL_DEBUG_MEMORY"), "off"))))
                {
                CRYPTO_malloc_debug_init();
-               CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);
+               CRYPTO_set_mem_debug_options(V_CRYPTO_MDEBUG_ALL);
+               }
+       else
+               {
+               /* OPENSSL_DEBUG_MEMORY=off */
+               CRYPTO_set_mem_debug_functions(0, 0, 0, 0, 0);
                }
        CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
        ERR_load_crypto_strings();
@@ -589,7 +594,7 @@ int main(int argc, char *argv[])
        }
 
 
-#if 1
+#if 0
        timings(P_192, 0, ctx);
        timings(P_192, 1, ctx);
        timings(P_224, 0, ctx);