projects
/
platform
/
upstream
/
gcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc771b6
)
gck: Fix tests with p11-kit 0.13 and later
author
Stef Walter
<stefw@gnome.org>
Thu, 20 Sep 2012 13:33:15 +0000
(15:33 +0200)
committer
Stef Walter
<stefw@gnome.org>
Tue, 25 Sep 2012 13:51:51 +0000
(15:51 +0200)
* p11-kit now encodes all characters in the 'id' part of a PKCS#11 URI
https://bugzilla.gnome.org/show_bug.cgi?id=684477
gck/tests/test-gck-uri.c
patch
|
blob
|
history
diff --git
a/gck/tests/test-gck-uri.c
b/gck/tests/test-gck-uri.c
index
8370133
..
8c733d3
100644
(file)
--- a/
gck/tests/test-gck-uri.c
+++ b/
gck/tests/test-gck-uri.c
@@
-357,7
+357,7
@@
test_build_with_attributes (void)
g_assert (g_str_has_prefix (uri, "pkcs11:"));
g_assert (strstr (uri, "object=The%20Label"));
g_assert (strstr (uri, "object-type=data"));
- g_assert (strstr (uri, "id=TEST%00"));
+ g_assert (strstr (uri, "id=
%54%45%53%54%00") || strstr (uri, "id=
TEST%00"));
g_free (uri);
}