public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g285a4617
Date: Fri, 28 Feb 2020 13:52:00 -0000	[thread overview]
Message-ID: <20200228135228.118843.qmail@sourceware.org> (raw)




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);


                 reply	other threads:[~2020-02-28 13:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200228135228.118843.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).