diff --git a/lib/krb5/n-fold-test.c b/lib/krb5/n-fold-test.c index 44aa8d78d..ca1339a9d 100644 --- a/lib/krb5/n-fold-test.c +++ b/lib/krb5/n-fold-test.c @@ -95,7 +95,7 @@ main(int argc, char **argv) printf ("%02x", t->res[i]); printf ("\nresult was: "); for (i = 0; i < t->n; ++i) - printf ("%02x", t->res[i]); + printf ("%02x", data[i]); printf ("\n"); ret = 1; }