From: Andy Green Date: Sun, 10 Feb 2013 14:22:01 +0000 (+0800) Subject: fix non ssl changes missed from context api change X-Git-Tag: accepted/2.0/20130307.220733~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F3045%2F1;p=profile%2Fivi%2Flibwebsockets.git 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 --- 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; }