mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
ESP8266 Fix TLS SNI which would prevent AWS IoT connection (#17936)
This commit is contained in:
parent
3ea69f7d7b
commit
bc7ef89b3c
@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- ESP8266 Fix TLS SNI which would prevent AWS IoT connection
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ int WiFiClientSecure_light::connect(IPAddress ip, uint16_t port) {
|
|||||||
setLastError(ERR_TCP_CONNECT);
|
setLastError(ERR_TCP_CONNECT);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return _connectSSL(nullptr);
|
return _connectSSL(_domain.isEmpty() ? nullptr : _domain.c_str());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user