Skip to content

Commit 8edb115

Browse files
committed
MbedSSLClient: specify functions that need to be called before connect
1 parent bf25224 commit 8edb115

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libraries/SocketWrapper/src/AClient.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,15 @@ class ASslClient : public AClient {
7171

7272
ASslClient() {}
7373

74+
/* The disableSNI function needs to be called prior to connect */
7475
void disableSNI(bool statusSNI);
75-
76+
/* The appendCustomCACert function needs to be called prior to connect */
7677
void appendCustomCACert(const char* ca_cert);
78+
/* The setCACert function needs to be called prior to connect */
7779
void setCACert(const char* rootCA);
80+
/* The setCertificate function needs to be called prior to connect */
7881
void setCertificate(const char* clientCert);
82+
/* The setPrivateKey function needs to be called prior to connect */
7983
void setPrivateKey(const char* privateKey);
8084

8185
protected:

0 commit comments

Comments
 (0)