mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Skip authentication when password is empty
should have been changed when turned in String
This commit is contained in:
parent
18f0a9999a
commit
0213dc34ff
@ -199,7 +199,7 @@ void ArduinoOTAClass::handle() {
|
||||
#endif
|
||||
|
||||
_udp_ota.beginPacket(_ota_ip, _udp_ota.remotePort());
|
||||
if (_password){
|
||||
if (_password.length()){
|
||||
MD5Builder nonce_md5;
|
||||
nonce_md5.begin();
|
||||
nonce_md5.add(String(micros()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user