diff options
Diffstat (limited to 'p11-kit/tests/test-uri.c')
-rw-r--r-- | p11-kit/tests/test-uri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/p11-kit/tests/test-uri.c b/p11-kit/tests/test-uri.c index b6de7ad..9b5b293 100644 --- a/p11-kit/tests/test-uri.c +++ b/p11-kit/tests/test-uri.c @@ -537,17 +537,20 @@ test_uri_build_with_attributes (void) at.pValue = "The Label"; at.ulValueLen = 9; ret = p11_kit_uri_set_attribute (uri, &at); + assert_num_eq (P11_KIT_URI_OK, ret); at.type = CKA_ID; at.pValue = "HELLO"; at.ulValueLen = 5; ret = p11_kit_uri_set_attribute (uri, &at); + assert_num_eq (P11_KIT_URI_OK, ret); klass = CKO_DATA; at.type = CKA_CLASS; at.pValue = &klass; at.ulValueLen = sizeof (klass); ret = p11_kit_uri_set_attribute (uri, &at); + assert_num_eq (P11_KIT_URI_OK, ret); ret = p11_kit_uri_format (uri, P11_KIT_URI_FOR_ANY, &string); assert_num_eq (P11_KIT_URI_OK, ret); |