1
0
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:
Me No Dev 2015-11-12 03:09:04 +02:00
parent 18f0a9999a
commit 0213dc34ff

View File

@ -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()));