mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
allow leanpsk dist to build
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user