mirror of https://github.com/wolfSSL/wolfssl.git
update VXWORKS GenerateSeed() - no printf, error return
parent
6ab9c87f13
commit
3113c8db9b
|
@ -1275,8 +1275,8 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
|||
/* RANDOM ENTORPY INJECT component must be enabled in VSB project */
|
||||
status = randBytes (output, sz);
|
||||
if (status == ERROR) {
|
||||
printf("Random seed failed! Enable RANDOM ENTROPY INJECT.");
|
||||
return status;
|
||||
WOLFSSL_MSG("Random seed failed! Enable RANDOM ENTROPY INJECT.");
|
||||
return RNG_FAILURE_E;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue