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:
Daniel Pouzzner
2024-08-23 16:35:43 -05:00
parent e99bbf9429
commit 7725e75c42
4 changed files with 1166 additions and 1155 deletions

View File

@@ -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;
}