hmac: print test number in logs

This commit is contained in:
Danny Robson 2016-05-12 17:58:52 +10:00
parent 78552cfcb2
commit 27b1bfc1ce

View File

@ -274,7 +274,7 @@ main (int, char**)
util::TAP::logger tap;
for (size_t i = 0; i < elems (TESTS); ++i)
tap.expect (TESTS[i].fun (TESTS[i].key, TESTS[i].dat, TESTS[i].res), "standard test vector");
tap.expect (TESTS[i].fun (TESTS[i].key, TESTS[i].dat, TESTS[i].res), "standard test vector %u", i);
return tap.status ();
}