File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -816,9 +816,7 @@ static int wh_She_TestMasterEcuKeyFallback(void)
816816 whNvmContext nvm [1 ] = {{0 }};
817817
818818 /* Crypto context */
819- whServerCryptoContext crypto [1 ] = {{
820- .devId = INVALID_DEVID ,
821- }};
819+ whServerCryptoContext crypto [1 ] = {0 };
822820
823821 whServerSheContext she [1 ];
824822 memset (she , 0 , sizeof (she ));
@@ -833,7 +831,7 @@ static int wh_She_TestMasterEcuKeyFallback(void)
833831
834832 WH_TEST_RETURN_ON_FAIL (wh_Nvm_Init (nvm , n_conf ));
835833 WH_TEST_RETURN_ON_FAIL (wolfCrypt_Init ());
836- WH_TEST_RETURN_ON_FAIL (wc_InitRng_ex (crypto -> rng , NULL , crypto -> devId ));
834+ WH_TEST_RETURN_ON_FAIL (wc_InitRng_ex (crypto -> rng , NULL , s_conf -> devId ));
837835 WH_TEST_RETURN_ON_FAIL (wh_Server_Init (server , s_conf ));
838836 WH_TEST_RETURN_ON_FAIL (wh_Server_SetConnected (server , WH_COMM_CONNECTED ));
839837
You can’t perform that action at this time.
0 commit comments