From da9724e6d0fe82db4191a2d15919b365f0f210b0 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 13 Jul 2010 11:28:04 +0200 Subject: Renamed key_encod{ing,der}_t and constants, prepare for generic credential encoding --- src/pki/commands/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pki/commands/print.c') diff --git a/src/pki/commands/print.c b/src/pki/commands/print.c index a86a9236d..6d5462783 100644 --- a/src/pki/commands/print.c +++ b/src/pki/commands/print.c @@ -30,11 +30,11 @@ static void print_pubkey(public_key_t *key) printf("pubkey: %N %d bits\n", key_type_names, key->get_type(key), key->get_keysize(key) * 8); - if (key->get_fingerprint(key, KEY_ID_PUBKEY_INFO_SHA1, &chunk)) + if (key->get_fingerprint(key, KEYID_PUBKEY_INFO_SHA1, &chunk)) { printf("keyid: %#B\n", &chunk); } - if (key->get_fingerprint(key, KEY_ID_PUBKEY_SHA1, &chunk)) + if (key->get_fingerprint(key, KEYID_PUBKEY_SHA1, &chunk)) { printf("subjkey: %#B\n", &chunk); } -- cgit v1.2.3