forked from wolfSSL/wolfssl
Merge pull request #1452 from cconlon/mcapifix
fix unused param warning with NO_ERROR_STRINGS
This commit is contained in:
@ -216,7 +216,8 @@ enum {
|
|||||||
#ifdef NO_ERROR_STRINGS
|
#ifdef NO_ERROR_STRINGS
|
||||||
#define wc_GetErrorString(error) "no support for error strings built in"
|
#define wc_GetErrorString(error) "no support for error strings built in"
|
||||||
#define wc_ErrorString(err, buf) \
|
#define wc_ErrorString(err, buf) \
|
||||||
XSTRNCPY((buf), wc_GetErrorString((err)), WOLFSSL_MAX_ERROR_SZ);
|
(void)err; XSTRNCPY((buf), wc_GetErrorString((err)), \
|
||||||
|
WOLFSSL_MAX_ERROR_SZ);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
WOLFSSL_API void wc_ErrorString(int err, char* buff);
|
WOLFSSL_API void wc_ErrorString(int err, char* buff);
|
||||||
|
Reference in New Issue
Block a user