diff options
author | Werner Koch <wk@gnupg.org> | 2011-09-15 11:47:37 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-09-15 11:47:37 +0200 |
commit | a316a514925227afc4cfe4a2295ce3afa30ae74c (patch) | |
tree | 87515c5b526d009a939ca522c7595f5525eb6a04 /src/hmac256.c | |
parent | f054da9ac1ad7e08c4520a3e0fcf94c25aeffba4 (diff) | |
download | libgcrypt-a316a514925227afc4cfe4a2295ce3afa30ae74c.tar.gz |
Fix an endless loop in hmac256 --binary
Diffstat (limited to 'src/hmac256.c')
-rw-r--r-- | src/hmac256.c | 2 |
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 { |