summaryrefslogtreecommitdiff
path: root/trust/builder.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-09-10 09:01:20 +0200
committerStef Walter <stef@thewalter.net>2014-09-10 09:01:20 +0200
commit800f310dd3f2fcbf3852a42c67b5dd37e4ef4415 (patch)
tree04b8f35a941a6c52297af7b01a35b9c458ea7993 /trust/builder.c
parenteccbcc298f59eb9518b07baf840930cec54c7655 (diff)
downloadp11-kit-800f310dd3f2fcbf3852a42c67b5dd37e4ef4415.tar.gz
trust: Use term 'attached extensions' instead of 'stapled'
The term 'stapled extensions' is confusing because it overloads terminology used with OSCP stapling. Suggested by Daniel Kahn Gillmor.
Diffstat (limited to 'trust/builder.c')
-rw-r--r--trust/builder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trust/builder.c b/trust/builder.c
index 5066dc6..4c62fac 100644
--- a/trust/builder.c
+++ b/trust/builder.c
@@ -130,7 +130,7 @@ lookup_extension (p11_builder *builder,
if (public_key == NULL || public_key->type == CKA_INVALID)
public_key = p11_attrs_find_valid (cert, CKA_PUBLIC_KEY_INFO);
- /* Look for a stapled certificate extension */
+ /* Look for an attached certificate extension */
if (public_key != NULL) {
memcpy (match, public_key, sizeof (CK_ATTRIBUTE));
obj = p11_index_find (index, match, -1);
@@ -592,7 +592,7 @@ calc_certificate_category (p11_builder *builder,
/*
* If there is no basic constraints extension, and the CA version is
* v1, and is self-signed, then we assume this is a certificate authority.
- * So we add a BasicConstraints stapled certificate extension
+ * So we add a BasicConstraints attached certificate extension
*/
is_ca = 1;