summaryrefslogtreecommitdiff
path: root/p11-kit/uri.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-08-19 10:31:51 +0200
committerStef Walter <stefw@collabora.co.uk>2011-08-19 10:31:51 +0200
commitae95625311e98caa3cccf82d24a3b612df11b26d (patch)
tree7ed56ccc0be88540c2bb7ccba74731b00e920891 /p11-kit/uri.h
parentd4abb441450deceff760086dcdf9d493b258074a (diff)
downloadp11-kit-ae95625311e98caa3cccf82d24a3b612df11b26d.tar.gz
Ignore spaces in PKCS#11 URIs
* These should be able to occur anywhere and should be ignored according to RFC 3986. This is documented in the PKCS#11 URI specification.
Diffstat (limited to 'p11-kit/uri.h')
-rw-r--r--p11-kit/uri.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/p11-kit/uri.h b/p11-kit/uri.h
index e08dfc8..98a233d 100644
--- a/p11-kit/uri.h
+++ b/p11-kit/uri.h
@@ -41,8 +41,8 @@
extern "C" {
#endif
-#define P11_KIT_URI_SCHEME "pkcs11:"
-#define P11_KIT_URI_SCHEME_LEN 7
+#define P11_KIT_URI_SCHEME "pkcs11"
+#define P11_KIT_URI_SCHEME_LEN 6
typedef enum {
P11_KIT_URI_OK = 0,