Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
verify_signed_buffer: fix stale comment
author
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Jan 2012 20:43:02 +0000
(12:43 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 5 Jan 2012 21:02:26 +0000
(13:02 -0800)
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>
gpg-interface.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9d3d784
)
diff --git
a/gpg-interface.c
b/gpg-interface.c
index 18630ff8da1158bb3ab5e1193ab8ef05d48e3bbe..09ab64aa24a1239cdb1ed5259c0b975a89594e9c 100644
(file)
--- 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,