comparison 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
comparison
equal deleted inserted replaced
1408:27e65d3aed5f 1411:798854f62430
780 ses.kexhashbuf->len); 780 ses.kexhashbuf->len);
781 ses.hash = buf_new(hash_desc->hashsize); 781 ses.hash = buf_new(hash_desc->hashsize);
782 hash_desc->done(&hs, buf_getwriteptr(ses.hash, hash_desc->hashsize)); 782 hash_desc->done(&hs, buf_getwriteptr(ses.hash, hash_desc->hashsize));
783 buf_setlen(ses.hash, hash_desc->hashsize); 783 buf_setlen(ses.hash, hash_desc->hashsize);
784 784
785 #if (DEBUG_KEXHASH) && (DEBUG_TRACE) 785 #if defined(DEBUG_KEXHASH) && DEBUG_TRACE
786 if (!debug_trace) { 786 if (!debug_trace) {
787 printhex("kexhashbuf", ses.kexhashbuf->data, ses.kexhashbuf->len); 787 printhex("kexhashbuf", ses.kexhashbuf->data, ses.kexhashbuf->len);
788 printhex("kexhash", ses.hash->data, ses.hash->len); 788 printhex("kexhash", ses.hash->data, ses.hash->len);
789 } 789 }
790 #endif 790 #endif