Skip to content

Commit

Permalink
tls: fix ssl connection error in raw connection
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen-prestolabs authored and lws-team committed Nov 14, 2023
1 parent e8d13af commit e639e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-net/client/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit e639e10

Please sign in to comment.