projects
/
project
/
ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14fa00e
)
fix CyaSSL build
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 23:39:02 +0000
(
00:39
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 21 Mar 2014 23:39:02 +0000
(
00:39
+0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream-io-cyassl.c
patch
|
blob
|
history
diff --git
a/ustream-io-cyassl.c
b/ustream-io-cyassl.c
index ea2efa986b6d83d481c128f4e0caa4c9e705012c..d97d55ef3ffb50743a96ad1358f14bc2656f9293 100644
(file)
--- a/
ustream-io-cyassl.c
+++ b/
ustream-io-cyassl.c
@@
-97,10
+97,10
@@
static int io_send_cb(char *buf, int sz, void *ctx)
}
#endif
-__hidden void ustream_set_io(
void
*ctx, void *ssl, struct ustream *conn)
+__hidden void ustream_set_io(
struct ustream_ssl_ctx
*ctx, void *ssl, struct ustream *conn)
{
CyaSSL_SetIOReadCtx(ssl, conn);
CyaSSL_SetIOWriteCtx(ssl, conn);
- CyaSSL_SetIORecv(ctx, io_recv_cb);
- CyaSSL_SetIOSend(ctx, io_send_cb);
+ CyaSSL_SetIORecv(
(void *)
ctx, io_recv_cb);
+ CyaSSL_SetIOSend(
(void *)
ctx, io_send_cb);
}