# HG changeset patch # User Matt Johnston # Date 1155140540 0 # Node ID 2481bc4370b8dd26ff7c22dd73cc8351c6b7c025 # Parent e66eec4dcba7b44e7e629c93b1537a701bcc1878 add yet more diff -r e66eec4dcba7 -r 2481bc4370b8 dbutil.c --- a/dbutil.c Tue Aug 08 15:31:38 2006 +0000 +++ b/dbutil.c Wed Aug 09 16:22:20 2006 +0000 @@ -576,8 +576,6 @@ int c = EOF; - TRACE(("enter buf_getline")) - buf_setpos(line, 0); buf_setlen(line, 0); @@ -604,7 +602,6 @@ TRACE(("leave buf_getline: failure")) return DROPBEAR_FAILURE; } else { - TRACE(("leave buf_getline: success")) buf_setpos(line, 0); return DROPBEAR_SUCCESS; } diff -r e66eec4dcba7 -r 2481bc4370b8 libtommath/bn_mp_exptmod_fast.c --- a/libtommath/bn_mp_exptmod_fast.c Tue Aug 08 15:31:38 2006 +0000 +++ b/libtommath/bn_mp_exptmod_fast.c Wed Aug 09 16:22:20 2006 +0000 @@ -46,6 +46,11 @@ print_mp_int("mp_exptmod_fast X", X); print_mp_int("mp_exptmod_fast P", P); + printhex("mp_exptmod_fast G", (void*)G->dp, sizeof(mp_digit)*G->used); + printhex("mp_exptmod_fast X", (void*)X->dp, sizeof(mp_digit)*X->used); + printhex("mp_exptmod_fast P", (void*)P->dp, sizeof(mp_digit)*P->used); + dropbear_trace("mp_exptmod_fast X used %d", X->used); + /* find window size */ x = mp_count_bits (X); if (x <= 7) {