1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

coverity 83668 test echo nesting level bug

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-11-30 12:50:12 +08:00
parent 66a5faa633
commit 0f59c9e75c

View file

@ -318,9 +318,10 @@ int main(int argc, char **argv)
if (use_ssl && !disallow_selfsigned) { if (use_ssl && !disallow_selfsigned) {
lwsl_info("allowing selfsigned\n"); lwsl_info("allowing selfsigned\n");
use_ssl = 2; use_ssl = 2;
} else } else {
lwsl_info("requiring server cert validation againts %s\n", ssl_cert); lwsl_info("requiring server cert validation againts %s\n", ssl_cert);
info.ssl_ca_filepath = ssl_cert; info.ssl_ca_filepath = ssl_cert;
}
} else { } else {
#endif #endif
#ifndef LWS_NO_SERVER #ifndef LWS_NO_SERVER