wolfcrypt/src/dsa.c: disable MSVC warning C4127 (compiler bug) as in wolfcrypt/src/tfm.c and src/internal.c.

This commit is contained in:
Daniel Pouzzner 2020-12-10 20:11:23 -06:00
parent f2e1595eef
commit 0b42f3ae72

View File

@ -42,6 +42,11 @@
#include <wolfcrypt/src/misc.c>
#endif
#ifdef _MSC_VER
/* disable for while(0) cases (MSVC bug) */
#pragma warning(disable:4127)
#endif
int wc_InitDsaKey(DsaKey* key)
{
if (key == NULL)