Skip to content

Commit e114cbe

Browse files
committed
Ensure wh_client_keywrap.c is gated on WOLFHSM_CFG_KEYWRAP
1 parent e2d8a89 commit e114cbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wh_client_keywrap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Pick up compile-time configuration */
22
#include "wolfhsm/wh_settings.h"
33

4+
#if defined(WOLFHSM_CFG_KEYWRAP)
45
#if defined(WOLFHSM_CFG_ENABLE_CLIENT)
56
#include <stdint.h>
67
#include <wolfhsm/wh_client.h>
@@ -326,3 +327,4 @@ int wh_Client_KeyUnwrapAndCache(whClientContext* ctx,
326327
}
327328

328329
#endif /* WOLFHSM_CFG_ENABLE_CLIENT */
330+
#endif /* WOLFHSM_CFG_KEYWRAP */

0 commit comments

Comments
 (0)