fpsensor: compilation error if RNG is not supported
FP operations require a working RNG, error if the corresponding config
hasn't been set.
TEST=make with CONFIG_RNG unset, observe failure to build
BRANCH=None
#include "watchdog.h"
#if !defined(CONFIG_AES) || !defined(CONFIG_AES_GCM) || \
- !defined(CONFIG_ROLLBACK_SECRET_SIZE)
-#error "fpsensor requires AES, AES_GCM and ROLLBACK_SECRET_SIZE"
+ !defined(CONFIG_ROLLBACK_SECRET_SIZE) || !defined(CONFIG_RNG)
+#error "fpsensor requires AES, AES_GCM, ROLLBACK_SECRET_SIZE and RNG"
#endif
#if defined(HAVE_PRIVATE) && !defined(TEST_BUILD)
