From 96cf9e9065f4cfbd45504ebe75d2593cb7347029 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 11 Oct 2018 15:24:40 +0200 Subject: [PATCH] reset: don't show internal entropy when skip_backup is set --- firmware/reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/reset.c b/firmware/reset.c index e17167eec..c68e7e824 100644 --- a/firmware/reset.c +++ b/firmware/reset.c @@ -44,7 +44,7 @@ void reset_init(bool display_random, uint32_t _strength, bool passphrase_protect skip_backup = _skip_backup; no_backup = _no_backup; - if (display_random && no_backup) { + if (display_random && (skip_backup || no_backup)) { fsm_sendFailure(FailureType_Failure_ProcessError, "Can't show internal entropy when no_backup is used"); layoutHome(); return;