[setup - the official Cygwin setup program] branch master, updated. release_2.902-1-g2a700f5f

jturney-9JcytcrH/[email protected]
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


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

commit 2a700f5f5174ccb51a83cce7acc8b9d76fcbd6ef
Author: Jon Turney <[email protected]>
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]))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.