projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[crypto.git]
/
lib
/
silcclient
/
client_prvmsg.c
diff --git
a/lib/silcclient/client_prvmsg.c
b/lib/silcclient/client_prvmsg.c
index c9d198c4b046577cf8bf0d421f74a7187ab2fba2..0234f0232c3fbb11ca02c3837ff9f87f3052bb89 100644
(file)
--- a/
lib/silcclient/client_prvmsg.c
+++ b/
lib/silcclient/client_prvmsg.c
@@
-323,7
+323,7
@@
int silc_client_add_private_message_key(SilcClient client,
return FALSE;
/* Generate key if not provided */
- if (
!key &&
generate_key == TRUE) {
+ if (generate_key == TRUE) {
len = 32;
for (i = 0; i < len; i++) private_key[i] = silc_rng_get_byte(client->rng);
key = private_key;