diff options
Diffstat (limited to 'common-kex.c')
-rw-r--r-- | common-kex.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common-kex.c b/common-kex.c index 77a7aa6..b318515 100644 --- a/common-kex.c +++ b/common-kex.c @@ -792,6 +792,11 @@ static void finish_kexhashbuf(void) { hash_desc->done(&hs, buf_getwriteptr(ses.hash, hash_desc->hashsize)); buf_setlen(ses.hash, hash_desc->hashsize); +#ifdef DEBUG_KEXHASH + printhex("kexhashbuf", ses.kexhashbuf->data, ses.kexhashbuf->len); + printhex("kexhash", ses.hash->data, ses.hash->len); +#endif + buf_burn(ses.kexhashbuf); buf_free(ses.kexhashbuf); ses.kexhashbuf = NULL; |