From 32280470cc30948801bf7000b026467db3d5a6f5 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 27 Sep 2019 01:03:48 +0100 Subject: [PATCH] crypto-test.c: Don't print dead registers. --- crypto-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto-test.c b/crypto-test.c index e25fd91..4c7c2e3 100644 --- a/crypto-test.c +++ b/crypto-test.c @@ -323,6 +323,7 @@ void check_test_output(struct test_state *state, const struct test *test) printf("failed test `%s'\n", test->name); for (def = test->regs; def->name; def++) { in = REG(in, def->i); + if (!(in->f®F_LIVE)) continue; if (def->i >= state->nrout) { printf("\t input `%s' = ", def->name); def->ty->dump(stdout, &in->v); -- 2.11.0