/* We have private message specific key */
/* Get data used in the encryption */
- cipher = client_entry->send_key;
+ cipher = conn->send_key;
hmac = conn->hmac_send;
block_len = silc_cipher_get_block_len(cipher);
}
/* Encrypt the header and padding of the packet. */
- cipher = conn->send_key;
silc_packet_encrypt(cipher, hmac, conn->psn_send++,
(SilcBuffer)&packet, SILC_PACKET_HEADER_LEN +
packetdata.src_id_len + packetdata.dst_id_len +