From 149559e40fab99199edb725a787bc6a11d1573ce Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 10 Nov 2017 13:29:49 -0700 Subject: [PATCH] change WOLFSSL_MAX_ERROR_SZ to be a macro instead of enum --- wolfssl/wolfcrypt/types.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index ea6850d9a..f7766d49c 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -453,9 +453,7 @@ /* max error buffer string size */ #ifndef WOLFSSL_MAX_ERROR_SZ - enum { - WOLFSSL_MAX_ERROR_SZ = 80 - }; + #define WOLFSSL_MAX_ERROR_SZ 80 #endif /* stack protection */