check for compiling misc.c when not needed

This commit is contained in:
Jacob Barthelmeh
2016-03-28 16:03:15 -06:00
parent 79a212da8d
commit 2665db73a4
37 changed files with 41 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ void wc_AesFreeCavium(Aes* aes)
#ifdef NO_INLINE
#include <wolfssl/wolfcrypt/misc.h>
#else
#define WOLFSSL_MISC_COMPILED
#include <wolfcrypt/src/misc.c>
#endif
#ifdef DEBUG_AESNI