diff options
Diffstat (limited to 'common/url.c')
-rw-r--r-- | common/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/url.c b/common/url.c index 884c584..344d971 100644 --- a/common/url.c +++ b/common/url.c @@ -75,8 +75,8 @@ p11_url_decode (const char *value, free (result); return NULL; } - a = strchr (HEX_CHARS, tolower (value[0])); - b = strchr (HEX_CHARS, tolower (value[1])); + a = strchr (HEX_CHARS, p11_ascii_tolower (value[0])); + b = strchr (HEX_CHARS, p11_ascii_tolower (value[1])); if (!a || !b) { free (result); return NULL; |