Skip to content

Commit 4e2e81c

Browse files
committed
MbedSSLClient: remove the possibility to set timeout from constructor
1 parent 6011d05 commit 4e2e81c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#include "MbedSSLClient.h"
22

3-
arduino::MbedSSLClient::MbedSSLClient(unsigned long timeout): MbedClient(timeout), _disableSNI{false} {
4-
onBeforeConnect(mbed::callback(this, &MbedSSLClient::setRootCA));
5-
}
6-
73
arduino::MbedSSLClient::MbedSSLClient(): _disableSNI{false} {
84
onBeforeConnect(mbed::callback(this, &MbedSSLClient::setRootCA));
95
};

libraries/SocketWrapper/src/MbedSSLClient.h

-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class MbedSSLClient : public arduino::MbedClient {
3333
public:
3434
MbedSSLClient();
3535

36-
MbedSSLClient(unsigned long timeout);
37-
3836
virtual ~MbedSSLClient() {
3937
stop();
4038
}

0 commit comments

Comments
 (0)