Skip to content

Commit 1d1be8b

Browse files
committed
Merge pull request #1 from asez73/asez73-patch-1
Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
2 parents 4014f91 + 4be40bc commit 1d1be8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/WiFiClientSecure.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ bool WiFiClientSecure::verify(const char* fp, const char* url) {
327327
int len = strlen(fp);
328328
int pos = 0;
329329
for (size_t i = 0; i < sizeof(sha1); ++i) {
330-
while (pos < len && fp[pos] == ' ') {
330+
while (pos < len && ((fp[pos] == ' ') || (fp[pos] == ':'))) {
331331
++pos;
332332
}
333333
if (pos > len - 2) {

0 commit comments

Comments
 (0)