wolfssl/wolfcrypt/tfm.h: fixes for cppcheck complaints: preprocessorErrorDirective[division/modulo by zero]

This commit is contained in:
Daniel Pouzzner
2022-01-08 00:34:33 -06:00
parent cb86da71fa
commit 7341b54a20

View File

@ -277,6 +277,9 @@
#define FP_MAX_SIZE (FP_MAX_BITS+(8*DIGIT_BIT))
/* will this lib work? */
#if CHAR_BIT == 0
#error CHAR_BIT must be nonzero
#endif
#if (CHAR_BIT & 7)
#error CHAR_BIT must be a multiple of eight.
#endif