aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3sum.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/sha3sum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c
index 993cf94..bc29a58 100644
--- a/c/sha3sum.c
+++ b/c/sha3sum.c
@@ -338,13 +338,13 @@ int main(int argc, char** argv)
if (binary)
{
long j;
+ for (j = 0; j < bn; j++)
+ putchar(*(bs + j));
if (filename == null)
{
stdin = bs;
bs = null;
}
- for (j = 0; j < bn; j++)
- putchar(*(bs + j));
fflush(stdout);
}
else