projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35be9c5
)
fix non ssl changes missed from context api change
45/3045/1
author
Andy Green
<andy.green@linaro.org>
Sun, 10 Feb 2013 14:22:01 +0000
(22:22 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:32 +0000
(13:01 -0800)
http://libwebsockets.org/trac/ticket/11#comment:5
Reported-by: amn
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
74d5561
..
241703a
100644
(file)
--- 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;
}