# HG changeset patch # User Francois Perrad # Date 1479548838 -3600 # Node ID 553c6bb80265ecbbe4cc96fca34df3a99a8ca5b5 # Parent ead816a635492c79799c4fa68f87fd17b6197962 fix DEBUG_* condition diff -r ead816a63549 -r 553c6bb80265 common-kex.c --- a/common-kex.c Sat Nov 19 10:38:47 2016 +0100 +++ b/common-kex.c Sat Nov 19 10:47:18 2016 +0100 @@ -774,7 +774,7 @@ hash_desc->done(&hs, buf_getwriteptr(ses.hash, hash_desc->hashsize)); buf_setlen(ses.hash, hash_desc->hashsize); -#if (DEBUG_KEXHASH) && (DEBUG_TRACE) +#if defined(DEBUG_KEXHASH) && DEBUG_TRACE if (!debug_trace) { printhex("kexhashbuf", ses.kexhashbuf->data, ses.kexhashbuf->len); printhex("kexhash", ses.hash->data, ses.hash->len); diff -r ead816a63549 -r 553c6bb80265 rsa.c --- a/rsa.c Sat Nov 19 10:38:47 2016 +0100 +++ b/rsa.c Sat Nov 19 10:47:18 2016 +0100 @@ -346,7 +346,7 @@ buf_incrwritepos(buf, ssize); mp_clear(&rsa_s); -#if defined(DEBUG_RSA) && defined(DEBUG_TRACE) +#if defined(DEBUG_RSA) && DEBUG_TRACE if (!debug_trace) { printhex("RSA sig", buf->data, buf->len); }