The unified diff between revisions [630fe558..] and [c8601f31..] is displayed below. It can also be downloaded as a raw diff.

#
#
# patch "dbutil.c"
#  from [46f91aa47ad63006772ef99b27898bcf0ac5b6f1]
#    to [bdec54f5aec424a09086abebf1cd4118215969c9]
#
# patch "libtommath/bn_mp_exptmod_fast.c"
#  from [db78a4980931f85a34647ce6a982c85d1926970d]
#    to [1107da6e60672dfdac79b44a9c3cd9908db32d5a]
#
============================================================
--- dbutil.c	46f91aa47ad63006772ef99b27898bcf0ac5b6f1
+++ dbutil.c	bdec54f5aec424a09086abebf1cd4118215969c9
@@ -576,8 +576,6 @@ int buf_getline(buffer * line, FILE * au

 	int c = EOF;

-	TRACE(("enter buf_getline"))
-
 	buf_setpos(line, 0);
 	buf_setlen(line, 0);

@@ -604,7 +602,6 @@ out:
 		TRACE(("leave buf_getline: failure"))
 		return DROPBEAR_FAILURE;
 	} else {
-		TRACE(("leave buf_getline: success"))
 		buf_setpos(line, 0);
 		return DROPBEAR_SUCCESS;
 	}
============================================================
--- libtommath/bn_mp_exptmod_fast.c	db78a4980931f85a34647ce6a982c85d1926970d
+++ libtommath/bn_mp_exptmod_fast.c	1107da6e60672dfdac79b44a9c3cd9908db32d5a
@@ -46,6 +46,11 @@ int mp_exptmod_fast (mp_int * G, mp_int
   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) {