subsys/net/lib/lwm2m: Change how we seed the random generator
Instead of seeding the random generator from the test itself calling into a host API, let's use the entropy generator option to be seeded from /dev/urandom This avoids trouble with the srandom() and time() calls not existing depending on the chosen C library. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
c6ed39e3ad
commit
571b647825
2 changed files with 1 additions and 4 deletions
|
@ -6,3 +6,4 @@ CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
|||
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y
|
||||
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
||||
CONFIG_ASAN=y
|
||||
CONFIG_NATIVE_EXTRA_CMDLINE_ARGS="--seed-random"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue