File tree 1 file changed +4
-0
lines changed
libraries/ESP8266WiFi/src
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,10 @@ class WiFiClientSecure : public WiFiClient {
304
304
bool setCiphers (const std::vector<uint16_t > list) { return _ctx->setCiphers (list); }
305
305
bool setCiphersLessSecure () { return _ctx->setCiphersLessSecure (); } // Only use the limited set of RSA ciphers without EC
306
306
307
+ // Limit the TLS versions BearSSL will connect with. Default is
308
+ // BR_TLS10...BR_TLS12. Allowed values are: BR_TLS10, BR_TLS11, BR_TLS12
309
+ bool setSSLVersion (uint32_t min = BR_TLS10, uint32_t max = BR_TLS12) { return _ctx->setSSLVersion (min, max); };
310
+
307
311
// Check for Maximum Fragment Length support for given len before connection (possibly insecure)
308
312
static bool probeMaxFragmentLength (IPAddress ip, uint16_t port, uint16_t len);
309
313
static bool probeMaxFragmentLength (const char *hostname, uint16_t port, uint16_t len);
You can’t perform that action at this time.
0 commit comments