8000 Add BearSSL::setFingerprint(char* fp) by earlephilhower · Pull Request #5204 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Add BearSSL::setFingerprint(char* fp) #5204

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 3 commits into from
Oct 4, 2018
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
Fix parsing checks
  • Loading branch information
earlephilhower committed Oct 4, 2018
commit 68ec6b961dc587eb9a67ab5fedecb56c8410fb5d
2 changes: 1 addition & 1 deletion libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ bool WiFiClientSecure::setFingerprint(const char *fpStr) {
fpStr++;
}
}
if ((idx != 20) || pgm_read_byte(_fingerprint)) {
if ((idx != 20) || pgm_read_byte(fpStr)) {
return false; // Garbage at EOL or we didn't have enough hex digits
}
return setFingerprint(fp);
Expand Down
0