10000 Ota hashed password by me-no-dev · Pull Request #2292 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Ota hashed password #2292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 18, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove underscores from local variable
  • Loading branch information
Me No Dev committed Jul 18, 2016
commit df57f5e247be87f1556ce858c368286c35870d7d
10 changes: 5 additions & 5 deletions libraries/ArduinoOTA/ArduinoOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ String ArduinoOTAClass::getHostname() {

void ArduinoOTAClass::setPassword(const char * password) {
if (!_initialized && !_password.length() && password) {
MD5Builder _passmd5;
_passmd5.begin();
_passmd5.add(password);
_passmd5.calculate();
_password = _passmd5.toString();
MD5Builder passmd5;
passmd5.begin();
passmd5.add(password);
passmd5.calculate();
_password = passmd5.toString();
}
}

Expand Down
0