update VXWORKS GenerateSeed() - no printf, error return

pull/211/head
lchristina26 2015-12-15 16:52:21 -07:00
parent 6ab9c87f13
commit 3113c8db9b
1 changed files with 2 additions and 2 deletions

View File

@ -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;