summaryrefslogtreecommitdiff
path: root/src/hmac256.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-09-15 11:47:37 +0200
committerWerner Koch <wk@gnupg.org>2011-09-15 11:47:37 +0200
commita316a514925227afc4cfe4a2295ce3afa30ae74c (patch)
tree87515c5b526d009a939ca522c7595f5525eb6a04 /src/hmac256.c
parentf054da9ac1ad7e08c4520a3e0fcf94c25aeffba4 (diff)
downloadlibgcrypt-a316a514925227afc4cfe4a2295ce3afa30ae74c.tar.gz
Fix an endless loop in hmac256 --binary
Diffstat (limited to 'src/hmac256.c')
-rw-r--r--src/hmac256.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hmac256.c b/src/hmac256.c
index f3bc0924..34def769 100644
--- a/src/hmac256.c
+++ b/src/hmac256.c
@@ -766,6 +766,8 @@ main (int argc, char **argv)
pgm, strerror (errno));
exit (1);
}
+ if (use_stdin)
+ break;
}
else
{