We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae1a54 commit 063beedCopy full SHA for 063beed
1 file changed
wolfssl/wolfcrypt/settings.h
@@ -4143,10 +4143,16 @@ extern void uITRON4_free(void *p) ;
4143
#ifndef WOLFSSL_ALERT_COUNT_MAX
4144
#define WOLFSSL_ALERT_COUNT_MAX 5
4145
#endif
4146
+#if WOLFSSL_ALERT_COUNT_MAX > 255
4147
+ #error "WOLFSSL_ALERT_COUNT_MAX must be <= 255 (stored in a byte)"
4148
+#endif
4149
4150
#ifndef WOLFSSL_MAX_EMPTY_RECORDS
4151
#define WOLFSSL_MAX_EMPTY_RECORDS 32
4152
4153
+#if WOLFSSL_MAX_EMPTY_RECORDS > 255
4154
+ #error "WOLFSSL_MAX_EMPTY_RECORDS must be <= 255 (stored in a byte)"
4155
4156
4157
/* Enable blinding by default for C-only, non-small curve25519 implementation */
4158
#if defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL) && \
0 commit comments