ustream-openssl: clear error stack before SSL_read/SSL_write
[oweals/openwrt-ustream-ssl.git] / ustream-example-server.c
index f1c02cb4dccbe19b2e6cd4e79faf6f91ff1e82fa..9f2ae805c4c25659262f181a95933b3bb2da6cc3 100644 (file)
@@ -31,7 +31,7 @@
 #include <libubox/usock.h>
 #include "ustream-ssl.h"
 
-static void *ctx;
+static struct ustream_ssl_ctx *ctx;
 
 static struct uloop_fd server;
 static const char *port = "10000";