diff options
Diffstat (limited to 'chip/host/trng.c')
-rw-r--r-- | chip/host/trng.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/host/trng.c b/chip/host/trng.c index e27dc9d607..d90415df71 100644 --- a/chip/host/trng.c +++ b/chip/host/trng.c @@ -10,6 +10,10 @@ * as possible to allow reproducing unit tests and fuzzer crashes. */ +#ifndef TEST_BUILD +#error "This fake trng driver must not be used in non-test builds." +#endif + #include <stdint.h> #include <stdlib.h> /* Only valid for host */ |