match casing

This commit is contained in:
Evan Burkey 2024-04-09 10:51:40 -07:00
parent 321d1ec446
commit 70bb4644e2
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ const char *hex_encode(const unsigned char *hex, size_t sz) {
char *pos = s; char *pos = s;
for (size_t i = 0; i < sz; ++i) { for (size_t i = 0; i < sz; ++i) {
snprintf(pos, 3, "%02X", hex[i]); snprintf(pos, 3, "%02x", hex[i]);
pos += 2; pos += 2;
} }
s[ssz - 1] = '\0'; s[ssz - 1] = '\0';