projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silcske
/
payload.c
diff --git
a/lib/silcske/payload.c
b/lib/silcske/payload.c
index c491f29e2f5e6562f7746c463724a96b502cf528..d0526135f27d38fec05c735fa5b1c8a6eefbb0b0 100644
(file)
--- a/
lib/silcske/payload.c
+++ b/
lib/silcske/payload.c
@@
-282,7
+282,7
@@
SilcSKEStatus silc_ske_payload_one_encode(SilcSKE ske,
return SILC_SKE_STATUS_ERROR;
/* Encode the integer into binary data */
return SILC_SKE_STATUS_ERROR;
/* Encode the integer into binary data */
- e_str = silc_mp_mp2bin(&payload->e, &e_len);
+ e_str = silc_mp_mp2bin(&payload->e,
0,
&e_len);
if (!e_str)
return SILC_SKE_STATUS_ERROR;
if (!e_str)
return SILC_SKE_STATUS_ERROR;
@@
-421,7
+421,7
@@
SilcSKEStatus silc_ske_payload_two_encode(SilcSKE ske,
return SILC_SKE_STATUS_ERROR;
/* Encode the integer into HEX string */
return SILC_SKE_STATUS_ERROR;
/* Encode the integer into HEX string */
- f_str = silc_mp_mp2bin(&payload->f, &f_len);
+ f_str = silc_mp_mp2bin(&payload->f,
0,
&f_len);
/* Allocate channel payload buffer. The length of the buffer
is 2 + 2 + public key + 2 + f + 2 + signature. */
/* Allocate channel payload buffer. The length of the buffer
is 2 + 2 + public key + 2 + f + 2 + signature. */