summaryrefslogtreecommitdiffstats
path: root/commands/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/digest.c')
-rw-r--r--commands/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/digest.c b/commands/digest.c
index 99b27dcc25..21a0917170 100644
--- a/commands/digest.c
+++ b/commands/digest.c
@@ -164,7 +164,7 @@ static int do_digest(int argc, char *argv[])
if (sig) {
digestlen = digest_length(d);
- if (siglen == 2 * digestlen) {
+ if (siglen >= 2 * digestlen) {
if (!tmp_sig)
tmp_sig = xmalloc(digestlen);