We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff070fa commit 2b2c04cCopy full SHA for 2b2c04c
libraries/WebServer/src/WebServer.cpp
@@ -123,9 +123,9 @@ static String md5str(String &in){
123
return String(out);
124
memset(_buf, 0x00, 16);
125
mbedtls_md5_init(&_ctx);
126
- mbedtls_md5_starts(&_ctx);
127
- mbedtls_md5_update(&_ctx, (const uint8_t *)in.c_str(), in.length());
128
- mbedtls_md5_finish(&_ctx, _buf);
+ mbedtls_md5_starts_ret(&_ctx);
+ mbedtls_md5_update_ret(&_ctx, (const uint8_t *)in.c_str(), in.length());
+ mbedtls_md5_finish_ret(&_ctx, _buf);
129
for(i = 0; i < 16; i++) {
130
sprintf(out + (i * 2), "%02x", _buf[i]);
131
}
0 commit comments