diff options
Diffstat (limited to 'src/pki/commands/print.c')
-rw-r--r-- | src/pki/commands/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/commands/print.c b/src/pki/commands/print.c index 6d5462783..1f449de4e 100644 --- a/src/pki/commands/print.c +++ b/src/pki/commands/print.c @@ -29,7 +29,7 @@ static void print_pubkey(public_key_t *key) chunk_t chunk; printf("pubkey: %N %d bits\n", key_type_names, key->get_type(key), - key->get_keysize(key) * 8); + key->get_keysize(key)); if (key->get_fingerprint(key, KEYID_PUBKEY_INFO_SHA1, &chunk)) { printf("keyid: %#B\n", &chunk); |