diff options
-rw-r--r-- | dbutil.c | 1 | ||||
-rw-r--r-- | dss.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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); @@ -176,7 +176,7 @@ int buf_dss_verify(buffer* buf, dropbear_dss_key *key, buffer *data_buf) { printmpint("dss verify p", key->p); printmpint("dss verify q", key->q); printmpint("dss verify g", key->g); - printmpint("dss verify x", key->x); + printmpint("dss verify y", key->y); #endif /* hash the data */ |