| 298 |
298 |
| 299 pk = silc_pkcs_public_key_encode(public_key, &pk_len); |
299 pk = silc_pkcs_public_key_encode(public_key, &pk_len); |
| 300 fingerprint = silc_hash_fingerprint(NULL, pk, pk_len); |
300 fingerprint = silc_hash_fingerprint(NULL, pk, pk_len); |
| 301 babbleprint = silc_hash_babbleprint(NULL, pk, pk_len); |
301 babbleprint = silc_hash_babbleprint(NULL, pk, pk_len); |
| 302 |
302 |
| 303 if (silc_pkcs_alloc(public_key->name, &pkcs)) { |
303 if (silc_pkcs_alloc((unsigned char *)public_key->name, &pkcs)) { |
| 304 key_len = silc_pkcs_public_key_set(pkcs, public_key); |
304 key_len = silc_pkcs_public_key_set(pkcs, public_key); |
| 305 silc_pkcs_free(pkcs); |
305 silc_pkcs_free(pkcs); |
| 306 } |
306 } |
| 307 |
307 |
| 308 s = g_string_new(""); |
308 s = g_string_new(""); |