diff options
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/codecs/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/codecs/md5.c b/apps/netutils/codecs/md5.c index e29fb637b..1810d75b6 100644 --- a/apps/netutils/codecs/md5.c +++ b/apps/netutils/codecs/md5.c @@ -395,7 +395,7 @@ char *md5_hash(const uint8_t * addr, const size_t len) md5_sum(addr, len, digest); for (i = 0; i < 16; i++) { - sprintf(&hash[i * 2], "%.2x", digest[i]); + sprintf(&hash[i * 2], "%02x", digest[i]); } hash[32] = 0; |