diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-01-17 21:39:27 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-01-17 21:39:27 +0800 |
commit | 61cecbb3371839a824ff536338471d4b888aacf6 (patch) | |
tree | aa2d4edcba8ea8af4d46158142c27b1816f0fa55 /common-kex.c | |
parent | aee1309c91dbeb40f61e13ee3da96cb1b02578da (diff) |
DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by default
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; |