summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5647fc7)
Use the context set by library to show the actual nickname of the client
whose public key we are verifying.
fingerprint = silc_hash_fingerprint(NULL, pk, pk_len);
babbleprint = silc_hash_babbleprint(NULL, pk, pk_len);
fingerprint = silc_hash_fingerprint(NULL, pk, pk_len);
babbleprint = silc_hash_babbleprint(NULL, pk, pk_len);
+ if (!name && conn->context_type == SILC_ID_CLIENT)
+ name = conn->client_entry->nickname;
+
verify = silc_calloc(1, sizeof(*verify));
verify->client = client;
verify->conn = conn;
verify = silc_calloc(1, sizeof(*verify));
verify->client = client;
verify->conn = conn;