Skip to content

Commit

Permalink
Merge pull request #140 from tmobile/tmo-CFSPDK-1183-TMO-secure_creat…
Browse files Browse the repository at this point in the history
…e-1SC-connection-to-a-URL-is-not-establishing

Fix secure connect on modem
  • Loading branch information
jtbaumann authored Mar 27, 2023
2 parents 1b757f5 + ca868cb commit 9aed673
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions samples/tmo_shell/src/tmo_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@ int tcp_create_tls_core(const struct shell *shell, size_t argc, char **argv, int
}
socks[idx].flags |= BIT(sock_tls);

#if CONFIG_MODEM
int tls_verify_val = TLS_PEER_VERIFY_NONE;
zsock_setsockopt(sd, SOL_TLS, TLS_PEER_VERIFY, &tls_verify_val, sizeof(tls_verify_val));
#endif

return ret;
}

Expand Down

0 comments on commit 9aed673

Please sign in to comment.