public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g285a4617
@ 2020-02-28 13:52 jturney
0 siblings, 0 replies; only message in thread
From: jturney @ 2020-02-28 13:52 UTC (permalink / raw)
To: cygwin-apps-cvs
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=285a4617516a471b68f894cab7a1364170173fd6
commit 285a4617516a471b68f894cab7a1364170173fd6
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Fri Feb 28 13:51:32 2020 +0000
Fix build when CRYPTODEBUGGING is defined
Diff:
---
crypto.cc | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/crypto.cc b/crypto.cc
index 597a2a98..c4814b9e 100644
--- a/crypto.cc
+++ b/crypto.cc
@@ -227,9 +227,9 @@ pkt_cb_resp key_file_walker (struct packet_walker *wlk, unsigned char tag,
#if CRYPTODEBUGGING
// Debugging
char sexprbuf[GPG_KEY_SEXPR_BUF_SIZE];
- n = gcry_sexp_sprint (new_key, GCRYSEXP_FMT_ADVANCED, sexprbuf,
- GPG_KEY_SEXPR_BUF_SIZE);
- LogBabblePrintf ("key:%d\n'%s'", n, sexprbuf);
+ erroff = gcry_sexp_sprint (new_key, GCRYSEXP_FMT_ADVANCED, sexprbuf,
+ GPG_KEY_SEXPR_BUF_SIZE);
+ LogBabblePrintf ("key:%d\n'%s'", erroff, sexprbuf);
#endif /* CRYPTODEBUGGING */
// Return it to caller in the vector.
@@ -359,6 +359,7 @@ verify_sig(struct sig_data *sigdat, HWND owner)
}
#if CRYPTODEBUGGING
+ char sexprbuf[GPG_KEY_SEXPR_BUF_SIZE];
n = gcry_sexp_sprint (sig, GCRYSEXP_FMT_ADVANCED, sexprbuf,
GPG_KEY_SEXPR_BUF_SIZE);
LogBabblePrintf ("sig:%d\n'%s'", n, sexprbuf);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-28 13:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 13:52 [setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g285a4617 jturney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).