Fixes to address build warnings for GCC 7. Used -Wimplicit-fallthrough=0 to suppress all switch fall-through warnings.

This commit is contained in:
David Garske
2017-05-11 14:32:21 -07:00
parent ce42738198
commit c0c98c8f64
5 changed files with 19 additions and 8 deletions
+2 -2
View File
@@ -3642,9 +3642,9 @@ int aes_test(void)
byte iv[] = "1234567890abcdef "; /* align */
#ifdef WOLFSSL_ASYNC_CRYPT
if (wc_AesAsyncInit(&enc, devId) != 0)
if (wc_AesInit(&enc, HEAP_HINT, devId) != 0)
return -4200;
if (wc_AesAsyncInit(&dec, devId) != 0)
if (wc_AesInit(&dec, HEAP_HINT, devId) != 0)
return -4201;
#endif