mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Duplicate code removed
This commit is contained in:
@ -3913,17 +3913,6 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
||||
|
||||
#define USE_TEST_GENSEED
|
||||
|
||||
#elif defined(WOLFSSL_MAXQ108X) || defined(WOLFSSL_MAXQ1065)
|
||||
|
||||
/* getrandom() was added to the Linux kernel in version 3.17.
|
||||
* Added to glibc in version 2.25. */
|
||||
int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
||||
{
|
||||
(void)os;
|
||||
|
||||
return maxq10xx_random(output, sz);
|
||||
}
|
||||
|
||||
#elif defined(NO_DEV_RANDOM)
|
||||
|
||||
/* Allow bare-metal targets to use cryptoCb as seed provider */
|
||||
|
Reference in New Issue
Block a user