diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2015-02-25 15:31:26 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2015-02-25 15:31:26 +0000 |
commit | 116d5547e5aebe6809b348949e66238efe6c1a66 (patch) | |
tree | 146f9e5f86a11147e132dd4386ff76f363b3a015 /regress/lib/libcrypto | |
parent | d5603eb8e03afd28a5c86b3f51d0646731ba623e (diff) |
Trivial fix for test progress output.
Remove unneeded dangling else, compound statements on a single line.
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r-- | regress/lib/libcrypto/sha512/sha512test.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/regress/lib/libcrypto/sha512/sha512test.c b/regress/lib/libcrypto/sha512/sha512test.c index bffec0f9384..453be517b0c 100644 --- a/regress/lib/libcrypto/sha512/sha512test.c +++ b/regress/lib/libcrypto/sha512/sha512test.c @@ -104,8 +104,9 @@ main(int argc, char **argv) { fflush(stdout); fprintf(stderr, "\nTEST 1 of 3 failed.\n"); return 1; - } else - fprintf(stdout, "."); fflush(stdout); + } + fprintf(stdout, "."); + fflush(stdout); EVP_Digest( "abcdefgh""bcdefghi""cdefghij""defghijk" @@ -146,7 +147,8 @@ main(int argc, char **argv) { fprintf(stdout, "."); fflush(stdout); - fprintf(stdout, " passed.\n"); fflush(stdout); + fprintf(stdout, " passed.\n"); + fflush(stdout); fprintf(stdout, "Testing SHA-384 "); @@ -191,7 +193,8 @@ main(int argc, char **argv) { fprintf(stdout, "."); fflush(stdout); - fprintf(stdout, " passed.\n"); fflush(stdout); + fprintf(stdout, " passed.\n"); + fflush(stdout); return 0; } |