summaryrefslogtreecommitdiffstats
path: root/apps/rehash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/rehash.c')
-rw-r--r--apps/rehash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rehash.c b/apps/rehash.c
index 38084a247f..895a222f0c 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -210,7 +210,7 @@ static int handle_symlink(const char *filename, const char *fullpath)
if (!isxdigit(ch))
return -1;
hash <<= 4;
- hash += app_hex(ch);
+ hash += OPENSSL_hexchar2int(ch);
}
if (filename[i++] != '.')
return -1;