1
0
Fork 0
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:
Andy Green 2013-02-10 22:22:01 +08:00
parent c97067cf69
commit 2b40b79e6d

View file

@ -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;
}