summaryrefslogtreecommitdiff
path: root/gpg-interface.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-04 12:43:02 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-05 13:02:26 -0800
commite3f55e07076f88ec01a49dcfb7c2ac56658145a4 (patch)
tree270c4d7da057a5adb8d67eb4a4458832d12c0549 /gpg-interface.c
parent9d3d78435f2735b74afc74e9c5a735c27c026d33 (diff)
downloadgit-e3f55e07076f88ec01a49dcfb7c2ac56658145a4.tar.gz
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 <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.c')
-rw-r--r--gpg-interface.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gpg-interface.c b/gpg-interface.c
index 18630ff8da..09ab64aa24 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -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,