projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d2622
)
Fixed message signature crash.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Dec 2006 16:11:30 +0000
(16:11 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Dec 2006 16:11:30 +0000
(16:11 +0000)
lib/silccore/silcmessage.c
patch
|
blob
|
history
diff --git
a/lib/silccore/silcmessage.c
b/lib/silccore/silcmessage.c
index e7f06c0ee2f158b0ab979c50e649ac2103019743..be06879ec99bbdd357afebd152dce2bb09dc30a7 100644
(file)
--- a/
lib/silccore/silcmessage.c
+++ b/
lib/silccore/silcmessage.c
@@
-192,7
+192,7
@@
silc_message_signed_payload_encode(const unsigned char *message_payload,
if (!pk)
return NULL;
}
- pk_type = silc_pkcs_get_type(p
ublic
_key);
+ pk_type = silc_pkcs_get_type(p
rivate
_key);
/* Encode the data to be signed */
sign = silc_message_signed_encode_data(message_payload,