Added support for the new PKCS API, Auth API and other API
[runtime.git] / apps / irssi / src / silc / core / silc-channels.c
index 1c6bb8d979a47376e49d0825e37da818a0292e45..8917fc2ced40b8d36966c5754ad0893b89600d3a 100644 (file)
@@ -1092,7 +1092,7 @@ void silc_list_key(const char *pub_filename, int verbose)
   silc_pubkey = silc_pkcs_get_context(SILC_PKCS_SILC, public_key);
   ident = &silc_pubkey->identifier;
 
-  pk = silc_pkcs_public_key_encode(public_key, &pk_len);
+  pk = silc_pkcs_public_key_encode(NULL, public_key, &pk_len);
   if (!pk)
     return;
   fingerprint = silc_hash_fingerprint(NULL, pk, pk_len);