From 2a46d81d84682181e0108ff2e5f973f7a319d25f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 29 Jan 2017 15:14:11 +0100 Subject: trust: Don't encode spaces when writing .p11-kit format These should not be encoded by default for readability in strings. --- trust/persist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.1