From 9dcb04a1e08990d3f95656c8f73d145c2121c75e Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 19 Nov 2016 10:47:18 +0100 Subject: fix DEBUG_* condition --- common-kex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common-kex.c') diff --git a/common-kex.c b/common-kex.c index 072b6fb..d60b9ea 100644 --- a/common-kex.c +++ b/common-kex.c @@ -774,7 +774,7 @@ static void finish_kexhashbuf(void) { 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); -- cgit v1.2.3