Signed-off-by: Felix Fietkau <nbd@openwrt.org>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <libubox/ustream.h>
#include <libubox/uloop.h>
#include <libubox/ustream.h>
#include <libubox/uloop.h>
static void *_ustream_ssl_context_new(bool server)
{
static void *_ustream_ssl_context_new(bool server)
{
-#ifdef CYASSL_OPENSSL_H_
- SSL_METHOD *m;
-#else
- const SSL_METHOD *m;
-#endif
m = TLSv1_client_method();
#endif
m = TLSv1_client_method();
#endif
+ c = SSL_CTX_new((void *) m);