diff options
Diffstat (limited to 'p11-kit/uri.c')
-rw-r--r-- | p11-kit/uri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/p11-kit/uri.c b/p11-kit/uri.c index 55b0809..b3cbc6a 100644 --- a/p11-kit/uri.c +++ b/p11-kit/uri.c @@ -724,8 +724,8 @@ p11_kit_uri_new (void) return uri; } -static size_t -space_strlen (const unsigned char *string, size_t max_length) +size_t +p11_kit_uri_space_strlen (const unsigned char *string, size_t max_length) { size_t i = max_length - 1; @@ -796,7 +796,7 @@ format_struct_string (char **string, size_t *length, int *is_first, if (!value[0]) return 1; - len = space_strlen (value, value_max); + len = p11_kit_uri_space_strlen (value, value_max); return format_encode_string (string, length, is_first, name, value, len); } |