allow leanpsk dist to build

This commit is contained in:
toddouska 2012-12-20 11:46:25 -08:00
parent 96cc05b7b1
commit 902069783e
1 changed files with 4 additions and 2 deletions

View File

@ -399,16 +399,18 @@ int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
return 0; return 0;
} }
#elif defined(CYASSL_SAFERTOS) #elif defined(CYASSL_SAFERTOS) || defined(CYASSL_LEANPSK)
#warning "write a real random seed!!!!, just for testing now" #warning "write a real random seed!!!!, just for testing now"
int GenerateSeed(OS_Seed* os, byte* output, word32 sz) int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
{ {
int i; word32 i;
for (i = 0; i < sz; i++ ) for (i = 0; i < sz; i++ )
output[i] = i; output[i] = i;
(void)os;
return 0; return 0;
} }