1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Changes to MD5Builder missing from the last commit

This commit is contained in:
Ivan Grokhotkov 2016-06-13 13:31:43 +08:00
parent 063e4cc88f
commit 90bbec9f50

View File

@ -5,7 +5,7 @@ uint8_t hex_char_to_byte(uint8_t c)
{
return (c >= 'a' && c <= 'f') ? (c - ((uint8_t)'a' - 0xa)) :
(c >= 'A' && c <= 'F') ? (c - ((uint8_t)'A' - 0xA)) :
(c >= '0'&& c<= '9') ? (c - (uint8_t)'0') : 0;
(c >= '0' && c<= '9') ? (c - (uint8_t)'0') : 0;
}
void MD5Builder::begin(void)
@ -72,7 +72,6 @@ bool MD5Builder::addStream(Stream & stream, const size_t maxLen)
maxLengthLeft -= numBytesRead;
bytesAvailable = stream.available();
}
printf("ba: %d mll: %d\n", bytesAvailable, maxLengthLeft);
free(buf);
return true;
}