summaryrefslogtreecommitdiff
path: root/common-kex.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-11-19 10:47:18 +0100
committerFrancois Perrad <francois.perrad@gadz.org>2016-11-19 10:47:18 +0100
commit00015741a51a4ca72878118d72da3d5324a90d43 (patch)
treed6a8e998534f880d1c9455e39bc42610879eff62 /common-kex.c
parentac24b01b5b746b2af01e980b5e5d8edd114eb55a (diff)
downloaddropbear-00015741a51a4ca72878118d72da3d5324a90d43.tar.gz
fix DEBUG_* condition
Diffstat (limited to 'common-kex.c')
-rw-r--r--common-kex.c2
1 files changed, 1 insertions, 1 deletions
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);