mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
account for Intel RDRAND build without HAVE_HASHDRBG
This commit is contained in:
@@ -26110,6 +26110,10 @@ int wolfSSL_RAND_poll(void)
|
|||||||
ret = WOLFSSL_SUCCESS;
|
ret = WOLFSSL_SUCCESS;
|
||||||
}
|
}
|
||||||
wc_UnLockMutex(&globalRNGMutex);
|
wc_UnLockMutex(&globalRNGMutex);
|
||||||
|
#elif defined(HAVE_INTEL_RDRAND)
|
||||||
|
WOLFSSL_MSG("Not polling with RAND_poll, RDRAND used without "
|
||||||
|
"HAVE_HASHDRBG");
|
||||||
|
ret = WOLFSSL_SUCCESS;
|
||||||
#else
|
#else
|
||||||
WOLFSSL_MSG("RAND_poll called with HAVE_HASHDRBG not set");
|
WOLFSSL_MSG("RAND_poll called with HAVE_HASHDRBG not set");
|
||||||
ret = WOLFSSL_FAILURE;
|
ret = WOLFSSL_FAILURE;
|
||||||
|
Reference in New Issue
Block a user