diff common-kex.c @ 1411:798854f62430 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Wed, 14 Jun 2017 23:31:42 +0800
parents 9aa6cd66b51d 553c6bb80265
children a90fdd2d2ed8
line wrap: on
line diff
--- a/common-kex.c	Sun Jun 11 21:39:40 2017 +0800
+++ b/common-kex.c	Wed Jun 14 23:31:42 2017 +0800
@@ -782,7 +782,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);