Convert #ifdef to #if, other build changes

This commit is contained in:
Matt Johnston
2016-05-04 15:33:40 +02:00
parent d6daad29fc
commit 32a28d0d9c
72 changed files with 876 additions and 914 deletions

View File

@@ -39,7 +39,9 @@
* Caution: Don't use this in an unfriendly environment (ie unfirewalled),
* since the printing may not sanitise strings etc. This will add a reasonable
* amount to your executable size. */
/*#define DEBUG_TRACE*/
#ifndef DEBUG_TRACE
#define DEBUG_TRACE 0
#endif
/* All functions writing to the cleartext payload buffer call
* CHECKCLEARTOWRITE() before writing. This is only really useful if you're
@@ -61,7 +63,7 @@
/*#define DEBUG_RSA*/
/* you don't need to touch this block */
#ifdef DEBUG_TRACE
#if DEBUG_TRACE
#define TRACE(X) dropbear_trace X;
#define TRACE2(X) dropbear_trace2 X;
#else /*DEBUG_TRACE*/