use NULL instead of 0 for heap hint
parent
a6540c6690
commit
ce1f96fe9a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue