diff --git a/lib/krb5/n-fold-test.c b/lib/krb5/n-fold-test.c index c92d057da..44aa8d78d 100644 --- a/lib/krb5/n-fold-test.c +++ b/lib/krb5/n-fold-test.c @@ -82,6 +82,7 @@ main(int argc, char **argv) { unsigned char data[MAXSIZE]; struct testcase *t; + int ret = 0; for (t = tests; t->str; ++t) { int i; @@ -92,11 +93,12 @@ main(int argc, char **argv) printf ("should be: "); for (i = 0; i < t->n; ++i) printf ("%02x", t->res[i]); - printf ("\nresult ws: "); + printf ("\nresult was: "); for (i = 0; i < t->n; ++i) printf ("%02x", t->res[i]); printf ("\n"); + ret = 1; } } - return 0; + return ret; }