Skip to content

Commit

Permalink
pwdbased warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
toddouska committed Apr 28, 2011
1 parent 2f4cd91 commit b6be054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctaocrypt/include/config.h
Expand Up @@ -42,7 +42,7 @@

/* Define to 1 or 0, depending whether the compiler supports simple visibility
declarations. */
#define HAVE_VISIBILITY 0
#define HAVE_VISIBILITY 1

/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
Expand Down
4 changes: 3 additions & 1 deletion ctaocrypt/include/integer.h
Expand Up @@ -314,9 +314,11 @@ int mp_init_multi(mp_int* a, mp_int* b, mp_int* c, mp_int* d, mp_int* e,
int mp_set_int (mp_int * a, unsigned long b);
int mp_gcd (mp_int * a, mp_int * b, mp_int * c);
int mp_lcm (mp_int * a, mp_int * b, mp_int * c);
int mp_sub_d (mp_int * a, mp_digit b, mp_int * c);
#endif

#if defined(CYASSL_KEY_GEN) || defined(HAVE_ECC) || !defined(NO_PWDBASED)
int mp_sub_d (mp_int * a, mp_digit b, mp_int * c);
#endif

#ifdef __cplusplus
}
Expand Down

0 comments on commit b6be054

Please sign in to comment.