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-g2a700f5f
@ 2020-02-28 14:32 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2020-02-28 14:32 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=2a700f5f5174ccb51a83cce7acc8b9d76fcbd6ef

commit 2a700f5f5174ccb51a83cce7acc8b9d76fcbd6ef
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Fri Feb 28 14:21:44 2020 +0000

    Use a separate define to control debugging in gpg-packet.cc


Diff:
---
 gpg-packet.cc | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gpg-packet.cc b/gpg-packet.cc
index bbafbc38..114d07db 100644
--- a/gpg-packet.cc
+++ b/gpg-packet.cc
@@ -29,15 +29,17 @@
 #include "LogSingleton.h"
 #include "resource.h"
 
-#define CRYPTODEBUGGING         (0)
+#ifndef RFC4880DEBUGGING
+#define RFC4880DEBUGGING         (0)
+#endif
 
-#if CRYPTODEBUGGING
+#if RFC4880DEBUGGING
 #define ERRKIND __asm__ __volatile__ (".byte 0xcc"); note
 #define MESSAGE LogBabblePrintf
-#else  /* !CRYPTODEBUGGING */
+#else  /* !RFC4880DEBUGGING */
 #define ERRKIND note
 #define MESSAGE while (0) LogBabblePrintf
-#endif /* CRYPTODEBUGGING */
+#endif /* RFC4880DEBUGGING */
 
 #ifndef ARRAYSIZE
 #define ARRAYSIZE(_ar) (sizeof (_ar) / sizeof (_ar[0]))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-28 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 14:32 [setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g2a700f5f 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).