We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 325278c commit 2648188Copy full SHA for 2648188
1 file changed
hal/sim.c
@@ -170,9 +170,7 @@ whCommServerConfig cs_conf[1] = {{
170
}};
171
172
/* Crypto context */
173
-whServerCryptoContext crypto[1] = {{
174
- .devId = INVALID_DEVID,
175
-}};
+whServerCryptoContext crypto[1] = {{0}};
176
177
#if defined(WOLFHSM_CFG_SHE_EXTENSION)
178
whServerSheContext she[1] = {{0}};
@@ -182,6 +180,9 @@ whServerConfig s_conf[1] = {{
182
180
.comm_config = cs_conf,
183
181
.nvm = nvm,
184
.crypto = crypto,
+#if defined(WOLF_CRYPTO_CB)
+ .devId = INVALID_DEVID,
185
+#endif
186
187
188
whServerContext hsmServerCtx = {0};
0 commit comments