From ce65bef5a89531333eed524c5132a1943cd64a2f Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 6 Jan 2015 13:42:02 -0700 Subject: [PATCH] enable-fpecc enable-ecc --- src/ssl.c | 2 +- tests/api.c | 6 +++--- wolfcrypt/benchmark/benchmark.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 01613c9ad..1ac9835fe 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -5495,7 +5495,7 @@ int wolfSSL_Cleanup(void) ret = BAD_MUTEX_E; #if defined(HAVE_ECC) && defined(FP_ECC) - ecc_fp_free(); + wc_ecc_fp_free(); #endif return ret; diff --git a/tests/api.c b/tests/api.c index 57c542adb..f42a7ef00 100644 --- a/tests/api.c +++ b/tests/api.c @@ -29,7 +29,7 @@ #include #ifdef HAVE_ECC - #include /* ecc_fp_free */ + #include /* wc_ecc_fp_free */ #endif #include @@ -409,7 +409,7 @@ done: #if defined(NO_MAIN_DRIVER) && defined(HAVE_ECC) && defined(FP_ECC) \ && defined(HAVE_THREAD_LS) - ecc_fp_free(); /* free per thread cache */ + wc_ecc_fp_free(); /* free per thread cache */ #endif #ifndef WOLFSSL_TIRTOS @@ -603,7 +603,7 @@ static THREAD_RETURN WOLFSSL_THREAD run_wolfssl_server(void* args) #if defined(NO_MAIN_DRIVER) && defined(HAVE_ECC) && defined(FP_ECC) \ && defined(HAVE_THREAD_LS) - ecc_fp_free(); /* free per thread cache */ + wc_ecc_fp_free(); /* free per thread cache */ #endif #ifndef WOLFSSL_TIRTOS diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index e7fb93fea..881703c4d 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -264,7 +264,7 @@ int benchmark_test(void *args) bench_eccKeyGen(); bench_eccKeyAgree(); #if defined(FP_ECC) - ecc_fp_free(); + wc_ecc_fp_free(); #endif #endif