From 5f32382fdfa49f98fe899f7f18d220e73ff24fb8 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 10 Feb 2013 22:22:01 +0800 Subject: [PATCH] fix non ssl changes missed from context api change http://libwebsockets.org/trac/ticket/11#comment:5 Reported-by: amn Signed-off-by: Andy Green --- lib/libwebsockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 74d5561..241703a 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1756,8 +1756,8 @@ libwebsocket_create_context(struct lws_context_creation_info *info) lwsl_notice(" Using non-SSL mode\n"); #else - if (ssl_cert_filepath != NULL && - ssl_private_key_filepath != NULL) { + if (info->ssl_cert_filepath != NULL && + info->ssl_private_key_filepath != NULL) { lwsl_notice(" Not compiled for OpenSSl support!\n"); goto bail; } -- 2.7.4