Skip to content

Commit 7725e75

Browse files
committed
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.
1 parent e99bbf9 commit 7725e75

4 files changed

Lines changed: 1166 additions & 1155 deletions

File tree

support/gen-debug-trace-error-codes.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ BEGIN {
1919
split($0, errcode_a, "[[:space:]=,]+");
2020
2121
if ((errcode_a[1] == "MIN_CODE_E") ||
22+
(errcode_a[1] == "MAX_CODE_E") ||
23+
(errcode_a[1] == "WC_FIRST_E") ||
2224
(errcode_a[1] == "WC_LAST_E") ||
23-
(errcode_a[1] == "MAX_CODE_E"))
25+
(errcode_a[1] == "WOLFSSL_FIRST_E") ||
26+
(errcode_a[1] == "WOLFSSL_LAST_E"))
2427
{
2528
next;
2629
}

0 commit comments

Comments
 (0)