use NULL instead of 0 for heap hint

pull/324/head
Jacob Barthelmeh 2022-06-24 15:11:15 -06:00
parent a6540c6690
commit ce1f96fe9a
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ int main(int argc, char** argv)
/* always initialize both key structs since both are free'd at the end */
ret = wc_InitRsaKey(&pubKeyRsa, 0);
ret = wc_InitRsaKey(&pubKeyRsa, NULL);
ret |= wc_ecc_init(&pubKeyEcc);
if (ret != 0)
err_sys("init key failed", ret);