[setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g285a4617
jturney@sourceware.org
jturney@sourceware.org
Fri Feb 28 13:52:00 GMT 2020
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);
More information about the Cygwin-apps-cvs
mailing list