summaryrefslogtreecommitdiff
path: root/gck/tests
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-09-20 15:33:15 +0200
committerStef Walter <stefw@gnome.org>2012-09-25 15:51:51 +0200
commitfcd65c6dae9ce51ce0fabafc66af98766e5a879e (patch)
treef2b7fd8abc91195ad4772634d58ac5dbfeac9886 /gck/tests
parentcc771b6644b326b1e49347ed5835cc390772e7ef (diff)
downloadgcr-fcd65c6dae9ce51ce0fabafc66af98766e5a879e.tar.gz
gck: Fix tests with p11-kit 0.13 and later
* p11-kit now encodes all characters in the 'id' part of a PKCS#11 URI https://bugzilla.gnome.org/show_bug.cgi?id=684477
Diffstat (limited to 'gck/tests')
-rw-r--r--gck/tests/test-gck-uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gck/tests/test-gck-uri.c b/gck/tests/test-gck-uri.c
index 8370133..8c733d3 100644
--- 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);
}