add WOLFSSL_DEBUG_TRACE_ERROR_CODES_ALWAYS flag for optional errcode tracing in apps, define it in wolfcrypt/test/test.c when defined(WOLFSSL_DEBUG_TRACE_ERROR_CODES), and deploy WC_NO_ERR_TRACE() to test.c where needed.
This commit is contained in:
@@ -19,8 +19,11 @@ BEGIN {
|
||||
split($0, errcode_a, "[[:space:]=,]+");
|
||||
|
||||
if ((errcode_a[1] == "MIN_CODE_E") ||
|
||||
(errcode_a[1] == "MAX_CODE_E") ||
|
||||
(errcode_a[1] == "WC_FIRST_E") ||
|
||||
(errcode_a[1] == "WC_LAST_E") ||
|
||||
(errcode_a[1] == "MAX_CODE_E"))
|
||||
(errcode_a[1] == "WOLFSSL_FIRST_E") ||
|
||||
(errcode_a[1] == "WOLFSSL_LAST_E"))
|
||||
{
|
||||
next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user