mirror of https://github.com/wolfSSL/wolfssl
allow leanpsk dist to build
This commit is contained in:
parent
96cc05b7b1
commit
902069783e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue