From 03a566791ead3efad4b4338ae4e4cd88fc1d4631 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Mon, 8 May 2023 12:51:22 -0700 Subject: [PATCH] fix for recursive issue in test case --- wolfcrypt/test/test.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 8f9ee60f8..10a4c35b1 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -45197,12 +45197,20 @@ static int myCryptoCbFind(int currentId, int algoType) /* can have algo specific overrides here switch (algoType) { + i.e. + WC_ALGO_TYPE_CMAC + WC_ALGO_TYPE_SEED + WC_ALGO_TYPE_HMAC + WC_ALGO_TYPE_HASH + WC_ALGO_TYPE_CIPHER + WC_ALGO_TYPE_PK + } */ (void)algoType; if (currentId == INVALID_DEVID) { - return 1; /* override invalid devid found with 1 */ + /* can override invalid devid found with 1 */ } return currentId; }