summaryrefslogtreecommitdiff
path: root/p11-kit/uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/uri.c')
-rw-r--r--p11-kit/uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/uri.c b/p11-kit/uri.c
index df7d149..f3a2ef5 100644
--- a/p11-kit/uri.c
+++ b/p11-kit/uri.c
@@ -879,7 +879,7 @@ p11_kit_uri_format (P11KitUri *uri, P11KitUriType uri_type, char **string)
return_val_if_reached (P11_KIT_URI_UNEXPECTED);
}
- if (!format_attribute_class (&buffer, &is_first, "object-type",
+ if (!format_attribute_class (&buffer, &is_first, "type",
p11_kit_uri_get_attribute (uri, CKA_CLASS))) {
return_val_if_reached (P11_KIT_URI_UNEXPECTED);
}