diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-12 23:37:30 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-12 23:37:30 +0000 |
commit | 1f82dcebc94b53bef986f0f8d67587f7106aa2ff (patch) | |
tree | 866a18866f9a883de1aead3bff5e0a94b9064b4f /lib/debug.c | |
parent | c40c8884815468a362efaec25e869745f88ffbb2 (diff) | |
download | gnutls-1f82dcebc94b53bef986f0f8d67587f7106aa2ff.tar.gz |
added support for Tom Wu's srp library tpasswd and tpasswd.conf files.
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.c b/lib/debug.c index c5b0e1674a..ffc1eb6756 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -30,10 +30,10 @@ void _gnutls_dump_mpi(char* prefix, MPI a) { char buf[400]; size_t n = sizeof buf; - + if (gcry_mpi_print(GCRYMPI_FMT_HEX, buf, &n, a)) strcpy(buf, "[can't print value]"); - fprintf(stderr, "MPI: %s%s\n", prefix, buf); + fprintf(stderr, "MPI: length: %d\n\t%s%s\n", (n-1)/2, prefix, buf); } |