diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-20 00:05:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-20 00:05:08 +0200 |
| commit | 8ffb8e7cbc152ce2ce188b108e89309cec5f09a0 (patch) | |
| tree | 2a72cbc0457fa98dc500582765f826fda209931d /src/lib/digester.cc | |
| parent | dde463561f8e159008effc3505ebc2f088d1f8f2 (diff) | |
| parent | 7e1e6564c680c426b9ec207c82d5ea2b9f4630ea (diff) | |
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/digester.cc')
| -rw-r--r-- | src/lib/digester.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/digester.cc b/src/lib/digester.cc index 09214c3de..67a3e2398 100644 --- a/src/lib/digester.cc +++ b/src/lib/digester.cc @@ -67,7 +67,7 @@ Digester::get () const char hex[MD5_DIGEST_SIZE * 2 + 1]; for (int i = 0; i < MD5_DIGEST_SIZE; ++i) { - snprintf(hex + i * 2, MD5_DIGEST_SIZE * 2 + 1, "%02x", digest[i]); + snprintf(hex + i * 2, 3, "%02x", digest[i]); } _digest = hex; |
