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

tls: fix ssl connection error in raw connection

This commit is contained in:
johnnychen 2023-07-03 10:44:25 +08:00 committed by Andy Green
parent e8d13afeb2
commit e639e10ada

View file

@ -492,7 +492,7 @@ lws_client_connect_via_info(const struct lws_client_connect_info *i)
wsi->tls.ssl = NULL;
if (wsi->tls.use_ssl & LCCSCF_USE_SSL) {
if (wsi->role_ops != &role_ops_raw_skt && (wsi->tls.use_ssl & LCCSCF_USE_SSL)) {
const char *cce = NULL;
switch (