diff options
author | Stef Walter <stefw@redhat.com> | 2017-01-29 15:14:11 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-01-31 17:38:15 +0100 |
commit | 2a46d81d84682181e0108ff2e5f973f7a319d25f (patch) | |
tree | a31393b49b44f755b6f866afc838d3d561615631 | |
parent | 6caa48db1cab9a4d680062edcd139d9625c5aa7f (diff) |
trust: Don't encode spaces when writing .p11-kit format
These should not be encoded by default for readability in
strings.
-rw-r--r-- | trust/persist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |