Don't error on CONFIG_CRYPTO_RANDOM_POOL not defined

px4_secure_random can be implemented also outside NuttX for some platform

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen
2022-07-20 13:44:49 +04:00
committed by Beat Küng
parent d6fb1114ff
commit 026bd073b5
@@ -41,6 +41,4 @@ size_t px4_get_secure_random(uint8_t *out,
arc4random_buf(out, outlen);
return outlen;
}
#else
#error CONFIG_CRYPTO_RANDOM_POOL has to be defined
#endif