From: Stef Walter Date: Sun, 29 Jan 2017 14:14:11 +0000 (+0100) Subject: trust: Don't encode spaces when writing .p11-kit format X-Git-Tag: 0.23.4~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a46d81d84682181e0108ff2e5f973f7a319d25f;p=p11-kit trust: Don't encode spaces when writing .p11-kit format These should not be encoded by default for readability in strings. --- diff --git a/trust/persist.c b/trust/persist.c index ae76342..de827a6 100644 --- a/trust/persist.c +++ b/trust/persist.c @@ -137,7 +137,7 @@ format_string (CK_ATTRIBUTE *attr, p11_buffer_add (buf, "\"", 1); value = attr->pValue; - p11_url_encode (value, value + attr->ulValueLen, P11_URL_VERBATIM, buf); + p11_url_encode (value, value + attr->ulValueLen, P11_URL_VERBATIM " ", buf); p11_buffer_add (buf, "\"", 1); }