X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_prvmsg.c;h=61c43b621aabf0e2d247bfc72a93e19121038e5c;hb=ce6ade69cd8e0aeca9ef097b2ceec9d43186d91f;hp=a932fbf7822451b96d8731c54c8e64fa1e56096b;hpb=6e259b8f13ead96a13f6a5467487ea2e7b64c248;p=silc.git diff --git a/lib/silcclient/client_prvmsg.c b/lib/silcclient/client_prvmsg.c index a932fbf7..61c43b62 100644 --- a/lib/silcclient/client_prvmsg.c +++ b/lib/silcclient/client_prvmsg.c @@ -484,7 +484,7 @@ SilcBool silc_client_add_private_message_key(SilcClient client, /* Produce the key material as the protocol defines */ keymat = silc_ske_process_key_material_data(key, key_len, 16, 256, 16, - client->sha1hash); + conn->internal->sha1hash); if (!keymat) return FALSE;