diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-06 10:05:53 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-06 10:05:53 +0000 |
commit | 65938d8337e3cb56762a82d6141e33d89475b716 (patch) | |
tree | 22274c681b303bcd584c0a022b429e28e83fb53f /lib/gnutls_rsa_export.c | |
parent | 73f500a5dd3131dd87b277d1bbd4f8d80e4533ef (diff) | |
download | gnutls-65938d8337e3cb56762a82d6141e33d89475b716.tar.gz |
Several fixes and improvements in CRL support.
Diffstat (limited to 'lib/gnutls_rsa_export.c')
-rw-r--r-- | lib/gnutls_rsa_export.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/gnutls_rsa_export.c b/lib/gnutls_rsa_export.c index 0bcd6d35cf..2ab656e42e 100644 --- a/lib/gnutls_rsa_export.c +++ b/lib/gnutls_rsa_export.c @@ -432,9 +432,13 @@ int gnutls_rsa_params_generate(gnutls_datum * m, gnutls_datum *e, FREE_ALL_MPIS; #ifdef DEBUG + { + opaque buffer[128]; + _gnutls_log("rsa_params_generate: Generated %d bits modulus %s, exponent %s.\n", - bits, _gnutls_bin2hex(m->data, m->size), - _gnutls_bin2hex( e->data, e->size)); + bits, _gnutls_bin2hex(m->data, m->size, buffer, sizeof(buffer)), + _gnutls_bin2hex( e->data, e->size, buffer, sizeof(buffer))); + } #endif return 0; |