forked from wolfSSL/wolfssl
wolfssl/wolfcrypt/tfm.h: fixes for cppcheck complaints: preprocessorErrorDirective[division/modulo by zero]
This commit is contained in:
@ -277,6 +277,9 @@
|
|||||||
#define FP_MAX_SIZE (FP_MAX_BITS+(8*DIGIT_BIT))
|
#define FP_MAX_SIZE (FP_MAX_BITS+(8*DIGIT_BIT))
|
||||||
|
|
||||||
/* will this lib work? */
|
/* will this lib work? */
|
||||||
|
#if CHAR_BIT == 0
|
||||||
|
#error CHAR_BIT must be nonzero
|
||||||
|
#endif
|
||||||
#if (CHAR_BIT & 7)
|
#if (CHAR_BIT & 7)
|
||||||
#error CHAR_BIT must be a multiple of eight.
|
#error CHAR_BIT must be a multiple of eight.
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user