warning fixes

This commit is contained in:
toddouska
2013-06-13 12:13:46 -07:00
parent b40c2c0b1f
commit 9559f09028
2 changed files with 8 additions and 6 deletions

View File

@@ -568,13 +568,17 @@ int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
return 0;
}
#elif defined(CYASSL_LPC43xx) || defined(CYASSL_STM32F2xx)
#warning "write a real random seed!!!!, just for testing now"
int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
{
int i;
for (i = 0; i < sz; i++ )
output[i] = i;
return 0;
return 0;
}
#elif defined(NO_DEV_RANDOM)