From: Sebastian Götte Date: Mon, 25 Mar 2013 23:46:17 GMT Subject: [PATCH 2/5] commit.c/GPG signature verification: Also look at the first GPG status line Message-ID: <5150E1C9.6050400@physik.tu-berlin.de> In-Reply-To: Signed-off-by: Sebastian Götte --- commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commit.c b/commit.c index 1aeb17a..f53a06d 100644 --- a/commit.c +++ b/commit.c @@ -1027,8 +1027,8 @@ static struct { char result; const char *check; } signature_check[] = { - { 'G', "\n[GNUPG:] GOODSIG " }, - { 'B', "\n[GNUPG:] BADSIG " }, + { 'G', "[GNUPG:] GOODSIG " }, + { 'B', "[GNUPG:] BADSIG " }, }; static void parse_signature_lines(struct signature *sig) -- 1.8.1.5