Skip to content

Commit 78d4a34

Browse files
committed
Fix for old wolfCrypt debug function
1 parent f863550 commit 78d4a34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wh_client_cryptocb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int wh_Client_CryptoCb(int devId, wc_CryptoInfo* info, void* inCtx)
7878

7979
WH_DEBUG_CLIENT("info:%p algo_type:%d\n", info,
8080
(info!=NULL)?info->algo_type:-1);
81-
#ifdef WOLFHSM_CFG_DEBUG
81+
#ifdef DEBUG_CRYPTOCB
8282
wc_CryptoCb_InfoString(info);
8383
#endif
8484
/* Based on the info type, process the request */
@@ -732,7 +732,7 @@ int wh_Client_CryptoCbDma(int devId, wc_CryptoInfo* info, void* inCtx)
732732
}
733733

734734
WH_DEBUG_CLIENT("CryptoCb invoked\n");
735-
#ifdef WOLFHSM_CFG_DEBUG
735+
#ifdef DEBUG_CRYPTOCB
736736
wc_CryptoCb_InfoString(info);
737737
#endif
738738

0 commit comments

Comments
 (0)