|
@@ -682,7 +682,7 @@ policyContext_newContext_sp_basic256sha256(UA_SecurityPolicy *securityPolicy,
|
|
|
|
|
|
/* Add the system entropy source */
|
|
|
mbedErr = mbedtls_entropy_add_source(&pc->entropyContext,
|
|
|
- mbedtls_platform_entropy_poll, NULL, 0,
|
|
|
+ MBEDTLS_ENTROPY_POLL_METHOD, NULL, 0,
|
|
|
MBEDTLS_ENTROPY_SOURCE_STRONG);
|
|
|
if(mbedErr) {
|
|
|
retval = UA_STATUSCODE_BADSECURITYCHECKSFAILED;
|