X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_prvmsg.c;h=3da26c854a1ebc00f453a6a62fbd189d2cd647a2;hp=d0695efdf7d4d40af6caec0f16281a6c08be4035;hb=e5d8d3db6caa344b3d419b884556c21b15e7d123;hpb=afca12dad0ef6623a983bdcc10b6f7ff7364edae diff --git a/lib/silcclient/client_prvmsg.c b/lib/silcclient/client_prvmsg.c index d0695efd..3da26c85 100644 --- a/lib/silcclient/client_prvmsg.c +++ b/lib/silcclient/client_prvmsg.c @@ -111,7 +111,7 @@ void silc_client_send_private_message(SilcClient client, sock->outbuf->data, sock->outbuf->len); /* Now actually send the packet */ - silc_client_packet_send_real(client, sock, force_send, FALSE); + silc_client_packet_send_real(client, sock, force_send); silc_free(packetdata.dst_id); out: @@ -320,7 +320,7 @@ int silc_client_add_private_message_key(SilcClient client, return FALSE; if (!cipher) - cipher = "aes-256-cbc"; + cipher = SILC_DEFAULT_CIPHER; /* Check the requested cipher */ if (!silc_cipher_is_supported(cipher)) @@ -394,7 +394,7 @@ int silc_client_add_private_message_key_ske(SilcClient client, return FALSE; if (!cipher) - cipher = "aes-256-cbc"; + cipher = SILC_DEFAULT_CIPHER; /* Check the requested cipher */ if (!silc_cipher_is_supported(cipher))