From 1a853d277d3fdec64580748b9717016cf7fd7a50 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 3 Jul 2015 09:58:42 -0700 Subject: [PATCH] fix opensslextra w/o ecc ssh --- wolfcrypt/src/tfm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wolfcrypt/src/tfm.c b/wolfcrypt/src/tfm.c index 423fbabfb..26467e9bd 100755 --- a/wolfcrypt/src/tfm.c +++ b/wolfcrypt/src/tfm.c @@ -2115,6 +2115,12 @@ int mp_mul_2d(fp_int *a, int b, fp_int *c) return MP_OKAY; } +int mp_div_2d(fp_int* a, int b, fp_int* c, fp_int* d) +{ + fp_div_2d(a, b, c, d); + return MP_OKAY; +} + #ifdef ALT_ECC_SIZE void fp_copy(fp_int *a, fp_int* b) { @@ -2695,12 +2701,6 @@ int mp_init_copy(fp_int * a, fp_int * b) return MP_OKAY; } -int mp_div_2d(fp_int* a, int b, fp_int* c, fp_int* d) -{ - fp_div_2d(a, b, c, d); - return MP_OKAY; -} - #ifdef HAVE_COMP_KEY int mp_cnt_lsb(fp_int* a)