Skip to content

Commit

Permalink
add WOLFSSL_DEBUG_TRACE_ERROR_CODES_ALWAYS flag for optional errcode …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
douzzer committed Aug 23, 2024
1 parent e99bbf9 commit 7725e75
Show file tree
Hide file tree
Showing 4 changed files with 1,166 additions and 1,155 deletions.
5 changes: 4 additions & 1 deletion support/gen-debug-trace-error-codes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Loading

0 comments on commit 7725e75

Please sign in to comment.