mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
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 <andy.green@linaro.org>
This commit is contained in:
parent
c97067cf69
commit
2b40b79e6d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue