From 71fcc1e4783ec63d82d89fe434db7d8a6c797dee Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 26 Jan 2016 17:12:31 -0700 Subject: [PATCH] comment for adding new wolfCrypt error id strings --- wolfssl/wolfcrypt/error-crypt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/error-crypt.h b/wolfssl/wolfcrypt/error-crypt.h index 187ef324a..52da4444b 100644 --- a/wolfssl/wolfcrypt/error-crypt.h +++ b/wolfssl/wolfcrypt/error-crypt.h @@ -34,7 +34,7 @@ #endif -/* error codes */ +/* error codes, add string for new errors !!! */ enum { MAX_CODE_E = -100, /* errors -101 - -299 */ OPEN_RAN_E = -101, /* opening random device error */ @@ -166,6 +166,9 @@ enum { BAD_COND_E = -230, /* Bad condition variable operation */ MIN_CODE_E = -300 /* errors -101 - -299 */ + + /* add new companion error id strings for any new error codes + wolfcrypt/src/error.c !!! */ };