diff dbutil.c @ 1432:41dca1e5ea34 fuzz

fix dss debug printing
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 10:34:58 +0800
parents 6c92e97553f1
children 4afde04f0607
line wrap: on
line diff
--- a/dbutil.c	Sat Jun 24 10:34:19 2017 +0800
+++ b/dbutil.c	Sat Jun 24 10:34:58 2017 +0800
@@ -399,6 +399,7 @@
 void printmpint(const char *label, mp_int *mp) {
 	buffer *buf = buf_new(1000);
 	buf_putmpint(buf, mp);
+	fprintf(stderr, "%d bits ", mp_count_bits(mp));
 	printhex(label, buf->data, buf->len);
 	buf_free(buf);