chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadf8b5
)
crypto-test.c: Don't print dead registers.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 27 Sep 2019 00:03:48 +0000
(
01:03
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 00:38:43 +0000
(
00:38
+0000)
crypto-test.c
patch
|
blob
|
history
diff --git
a/crypto-test.c
b/crypto-test.c
index e25fd913ad10e38cb3a6685f4f7980f744c0b65c..4c7c2e3f43bbc877c15d8e224035a266d767bd0a 100644
(file)
--- 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);