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 {
3131 return ret;
3232 }
3333#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- }
3734 int connectSSL (const char * host, uint16_t port, char * cert) {
3835 auto ret = ZephyrSocketWrapper::connectSSL ((char *)host, port, cert);
3936 if (ret) {
Original file line number Diff line number Diff line change 1010class ZephyrSSLClient : public ZephyrClient {
1111
1212public:
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 );
1515 }
1616 int connect (const char * host, uint16_t port, char * cert) {
1717 return connectSSL (host, port, cert);
You can’t perform that action at this time.
0 commit comments