From 01edf3f7962821d5ba2733f6d8bcacd1c8eec1fe Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Fri, 24 Mar 2023 10:09:56 +0100 Subject: [PATCH] fix(storage): Adapt to changing insecure PRNG to be opt-in. --- storage/tests/c/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/storage/tests/c/Makefile b/storage/tests/c/Makefile index 7566a00f2..df6ad656d 100644 --- a/storage/tests/c/Makefile +++ b/storage/tests/c/Makefile @@ -1,5 +1,11 @@ CC = cc -CFLAGS = -Wall -Wshadow -Wextra -Wpedantic -Werror -Wno-missing-braces -fPIC -fsanitize=address,undefined -DTREZOR_MODEL_T + +CFLAGS = -Wall -Wshadow -Wextra -Wpedantic -Werror -Wno-missing-braces +CFLAGS += -fPIC +CFALGS += -fsanitize=address,undefined +CFLAGS += -DTREZOR_MODEL_T +CFLAGS += -DUSE_INSECURE_PRNG + LIBS = INC = -I ../../../crypto -I ../.. -I . BASE = ../../../