Skip to content

Commit e3f55e0

Browse files
committed
verify_signed_buffer: fix stale comment
The function used to take an integer flag to specify where the output should go, but these days we supply a strbuf to receive it. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9d3d784 commit e3f55e0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gpg-interface.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ int sign_buffer(struct strbuf *buffer, struct strbuf *signature, const char *sig
9595

9696
/*
9797
* Run "gpg" to see if the payload matches the detached signature.
98-
* gpg_output_to tells where the output from "gpg" should go:
99-
* < 0: /dev/null
100-
* = 0: standard error of the calling process
101-
* > 0: the specified file descriptor
98+
* gpg_output, when set, receives the diagnostic output from GPG.
10299
*/
103100
int verify_signed_buffer(const char *payload, size_t payload_size,
104101
const char *signature, size_t signature_size,

0 commit comments

Comments
 (0)