]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Print bit size of RSA exponents.
authorSimon Josefsson <simon@josefsson.org>
Wed, 11 Feb 2009 12:05:19 +0000 (13:05 +0100)
committerSimon Josefsson <simon@josefsson.org>
Wed, 11 Feb 2009 12:05:19 +0000 (13:05 +0100)
lib/x509/output.c

index d503dc9a763486444682bcf4400ce7c835f86865..ccd74915756fb6dda002b409ec2a203ecf968c29 100644 (file)
@@ -1004,7 +1004,7 @@ print_cert (gnutls_string * str, gnutls_x509_crt_t cert, int notsigned)
                {
                  addf (str, _("\t\tModulus (bits %d):\n"), bits);
                  hexdump (str, m.data, m.size, "\t\t\t");
-                 addf (str, _("\t\tExponent:\n"));
+                 addf (str, _("\t\tExponent (bits %d):\n"), e.size * 8);
                  hexdump (str, e.data, e.size, "\t\t\t");
 
                  gnutls_free (m.data);