summaryrefslogtreecommitdiff
path: root/dbutil.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-24 10:34:58 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-24 10:34:58 +0800
commit8b9446c281f167b579a95a4abbcaa84e378518fb (patch)
treed78580c460c96ae679715cec1b3b9889914aad86 /dbutil.c
parent5e3e875e405ad08bad7492377e6b7d9f96cd523a (diff)
downloaddropbear-8b9446c281f167b579a95a4abbcaa84e378518fb.tar.gz
fix dss debug printing
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbutil.c b/dbutil.c
index aadc20e..5ebad15 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -399,6 +399,7 @@ void printhex(const char * label, const unsigned char * buf, int len) {
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);