updates.
[crypto.git] / lib / silcclient / client_channel.c
index c98a8823909d602fe8b666995b99e7e0f5e4e5ed..ee2cc2b8eccd26e45cfb6ec1cda4e3182f4dcf65 100644 (file)
@@ -101,7 +101,8 @@ void silc_client_send_channel_message(SilcClient client,
 
   /* Encode the channel payload. This also encrypts the message payload. */
   payload = silc_channel_message_payload_encode(flags, data_len, data, iv_len, 
-                                               channel->iv, cipher, hmac);
+                                               channel->iv, cipher, hmac,
+                                               client->rng);
 
   /* Get data used in packet header encryption, keys and stuff. */
   cipher = conn->send_key;