X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/abdc0d5fcaa72bef72d1dc49290c1db8d68229f3..HEAD:/symm/pmac1-def.h diff --git a/symm/pmac1-def.h b/symm/pmac1-def.h index 4b0da048..5df93385 100644 --- a/symm/pmac1-def.h +++ b/symm/pmac1-def.h @@ -288,6 +288,7 @@ PMAC1_TESTX(PRE, pre, name, fname) #include #include +#include #include #include @@ -327,7 +328,7 @@ static int macverify(dstr *v) \ csz -= i; \ } \ pre##_pmac1done(&cctx, d.buf); \ - if (memcmp(d.buf, v[2].buf, PRE##_BLKSZ) != 0) { \ + if (MEMCMP(d.buf, !=, v[2].buf, PRE##_BLKSZ)) { \ printf("\nfail:\n\tstep = %i\n\tkey = ", *ip); \ type_hex.dump(&v[0], stdout); \ fputs("\n\tinput = ", stdout); \