Skip to content

Commit

Permalink
Merge branch 'js/tag'
Browse files Browse the repository at this point in the history
* js/tag:
  verify-tag: also grok CR/LFs in the tag signature
  • Loading branch information
Junio C Hamano committed Sep 15, 2007
2 parents 23d2338 + fec60a2 commit 07efafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-verify-tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static int run_gpg_verify(const char *buf, unsigned long size, int verbose)

/* find the length without signature */
len = 0;
while (len < size && prefixcmp(buf + len, PGP_SIGNATURE "\n")) {
while (len < size && prefixcmp(buf + len, PGP_SIGNATURE)) {
eol = memchr(buf + len, '\n', size - len);
len += eol ? eol - (buf + len) + 1 : size - len;
}
Expand Down

0 comments on commit 07efafe

Please sign in to comment.