Mercurial > dropbear
comparison debug.h @ 22:c1e5d9195402
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 23 Jun 2004 07:14:16 +0000 |
parents | 425ed5c20157 |
children | 0969767bca0d |
comparison
equal
deleted
inserted
replaced
14:5ae28f6101c1 | 22:c1e5d9195402 |
---|---|
34 /* #define DEBUG_VALGRIND */ | 34 /* #define DEBUG_VALGRIND */ |
35 | 35 |
36 /* Define this to print trace statements - very verbose */ | 36 /* Define this to print trace statements - very verbose */ |
37 /* Caution: Don't use this in an unfriendly environment (ie unfirewalled), | 37 /* Caution: Don't use this in an unfriendly environment (ie unfirewalled), |
38 * since the printing does not sanitise strings etc */ | 38 * since the printing does not sanitise strings etc */ |
39 /*#define DEBUG_TRACE*/ | 39 #define DEBUG_TRACE |
40 | 40 |
41 /* All functions writing to the cleartext payload buffer call | 41 /* All functions writing to the cleartext payload buffer call |
42 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're | 42 * CHECKCLEARTOWRITE() before writing. This is only really useful if you're |
43 * attempting to track down a problem */ | 43 * attempting to track down a problem */ |
44 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ | 44 #define CHECKCLEARTOWRITE() assert(ses.writepayload->len == 0 && \ |