aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/x509.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-08-10 15:56:10 +0200
committerMartin Willi <martin@revosec.ch>2010-08-10 18:46:30 +0200
commita944d2092bb8663be21f863bbe27fa475966c9d9 (patch)
tree7a3d6f2c612f7e9e229c0e8be2fa21fb05d3db2e /src/pluto/x509.c
parent33ddaaabec136e358bf38a6aeb7855f466603007 (diff)
downloadstrongswan-a944d2092bb8663be21f863bbe27fa475966c9d9.tar.bz2
strongswan-a944d2092bb8663be21f863bbe27fa475966c9d9.tar.xz
Use bits instead of bytes for a private/public key
Diffstat (limited to 'src/pluto/x509.c')
-rw-r--r--src/pluto/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/x509.c b/src/pluto/x509.c
index 2b8681246..d717beb15 100644
--- a/src/pluto/x509.c
+++ b/src/pluto/x509.c
@@ -427,7 +427,7 @@ void list_x509cert_chain(const char *caption, cert_t* cert,
{
whack_log(RC_COMMENT, " pubkey: %N %4d bits%s",
key_type_names, key->get_type(key),
- key->get_keysize(key) * BITS_PER_BYTE,
+ key->get_keysize(key),
cert->smartcard ? ", on smartcard" :
(has_private_key(cert)? ", has private key" : ""));