File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ class ZephyrClient : public arduino::Client, ZephyrSocketWrapper {
31
31
return ret;
32
32
}
33
33
#if defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS)
34
- int connectSSL (const char * host, uint16_t port, const char * cert) {
35
- return this ->connectSSL (host, port, (char *)cert);
36
- }
37
34
int connectSSL (const char * host, uint16_t port, char * cert) {
38
35
auto ret = ZephyrSocketWrapper::connectSSL ((char *)host, port, cert);
39
36
if (ret) {
Original file line number Diff line number Diff line change 10
10
class ZephyrSSLClient : public ZephyrClient {
11
11
12
12
public:
13
- int connect (const char * host, uint16_t port, const char * cert) {
14
- return connectSSL (host, port, ( char *)cert );
13
+ int connect (const char * host, uint16_t port) override {
14
+ return connectSSL (host, port, nullptr );
15
15
}
16
16
int connect (const char * host, uint16_t port, char * cert) {
17
17
return connectSSL (host, port, cert);
You can’t perform that action at this time.
0 commit comments