gpg_interface: allow to request status return
Currently, verify_signed_buffer() returns the user facing output only. Allow callers to request the status output also. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
1315093f99
commit
9cc4ac8ff1
@ -29,7 +29,7 @@ static int run_gpg_verify(const char *buf, unsigned long size, int verbose)
|
||||
if (size == len)
|
||||
return error("no signature found");
|
||||
|
||||
return verify_signed_buffer(buf, len, buf + len, size - len, NULL);
|
||||
return verify_signed_buffer(buf, len, buf + len, size - len, NULL, NULL);
|
||||
}
|
||||
|
||||
static int verify_tag(const char *name, int verbose)
|
||||
|
||||
Reference in New Issue
Block a user