Skip to content

Commit

Permalink
fix macro protection
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrett committed Nov 26, 2024
1 parent ded9621 commit ea3e957
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wh_client_cryptocb.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ int wh_Client_CryptoCbDma(int devId, wc_CryptoInfo* info, void* inCtx)

case WC_ALGO_TYPE_PK: {
switch (info->pk.type) {
#if defined(HAVE_DILITHIUM) || defined(HAVE_FALCON)
case WC_PK_TYPE_PQC_SIG_KEYGEN:
ret = _handlePqcSigKeyGen(ctx, info, 1);
break;
Expand All @@ -997,6 +998,7 @@ int wh_Client_CryptoCbDma(int devId, wc_CryptoInfo* info, void* inCtx)
case WC_PK_TYPE_PQC_SIG_CHECK_PRIV_KEY:
ret = _handlePqcSigCheckPrivKey(ctx, info, 1);
break;
#endif /* HAVE_DILITHIUM || HAVE_FALCON */
}
} break; /* case WC_ALGO_TYPE_PK */

Expand Down

0 comments on commit ea3e957

Please sign in to comment.