fix for recursive issue in test case

This commit is contained in:
JacobBarthelmeh
2023-05-08 12:51:22 -07:00
parent 71cbc019d7
commit 03a566791e

View File

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