X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-verify-tag.c;h=cc4c55d7ee35ceeaf8c4a857d5dad857a7eb2664;hb=2ce1a1f23fd83d2cab22f87aff1165fb0c7ad450;hp=dfcfcd0455ce471a6120d11bcbdb7553de59f536;hpb=9269df96105dff5ecc137b598ac7664d218ac6be;p=git.git diff --git a/builtin-verify-tag.c b/builtin-verify-tag.c index dfcfcd045..cc4c55d7e 100644 --- a/builtin-verify-tag.c +++ b/builtin-verify-tag.c @@ -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; }