From: Mark Wooding Date: Fri, 27 Sep 2019 00:03:48 +0000 (+0100) Subject: crypto-test.c: Don't print dead registers. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/commitdiff_plain/32280470cc30948801bf7000b026467db3d5a6f5?ds=inline crypto-test.c: Don't print dead registers. --- 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);