Skip to content

Commit

Permalink
verify_signed_buffer: fix stale comment
Browse files Browse the repository at this point in the history
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 <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jan 5, 2012
1 parent 9d3d784 commit e3f55e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gpg-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ int sign_buffer(struct strbuf *buffer, struct strbuf *signature, const char *sig

/*
* Run "gpg" to see if the payload matches the detached signature.
* gpg_output_to tells where the output from "gpg" should go:
* < 0: /dev/null
* = 0: standard error of the calling process
* > 0: the specified file descriptor
* gpg_output, when set, receives the diagnostic output from GPG.
*/
int verify_signed_buffer(const char *payload, size_t payload_size,
const char *signature, size_t signature_size,
Expand Down

0 comments on commit e3f55e0

Please sign in to comment.