change WOLFSSL_MAX_ERROR_SZ to be a macro instead of enum

This commit is contained in:
Jacob Barthelmeh 2017-11-10 13:29:49 -07:00
parent 39ad478973
commit 149559e40f
1 changed files with 1 additions and 3 deletions

View File

@ -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 */