diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index a86427dbe..3ae3e41a7 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -743,10 +743,10 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void); #endif #ifndef MAX_FILENAME_SZ - #define MAX_FILENAME_SZ 260 + 1 /* max file name length */ + #define MAX_FILENAME_SZ (260 + 1) /* max file name length */ #endif #ifndef MAX_PATH - #define MAX_PATH 260 + 1 + #define MAX_PATH (260 + 1) #endif WOLFSSL_LOCAL int wc_FileLoad(const char* fname, unsigned char** buf,