From 6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 26 Oct 2026 17:13:36 +0100 Subject: Second run of making variable and function names more readable, urlencoder now matches overall naming scheme --- ot_hex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_hex.c') diff --git a/ot_hex.c b/ot_hex.c index 9581951..2bf69c4 100644 --- a/ot_hex.c +++ b/ot_hex.c @@ -23,7 +23,7 @@ int hex_value(int c) { int hex_isdigit(int c) { return hex_value(c) >= 0; } -char *hex_fromhash(char *dest, const uint8_t *hash) { +char *hex_from_hash(char *dest, const uint8_t *hash) { static const char digits[] = "0123456789ABCDEF"; char *d = dest; size_t i; @@ -36,7 +36,7 @@ char *hex_fromhash(char *dest, const uint8_t *hash) { return dest; } -int hex_tohash(ot_hash hash, const char *src) { +int hex_to_hash(ot_hash hash, const char *src) { uint8_t decoded[sizeof(ot_hash)]; size_t i; -- cgit v1.3