More client library rewrites.
[silc.git] / lib / silcclient / client_prvmsg.c
index a932fbf7822451b96d8731c54c8e64fa1e56096b..61c43b621aabf0e2d247bfc72a93e19121038e5c 100644 (file)
@@ -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;