summaryrefslogtreecommitdiff
path: root/trust/extract-openssl.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/extract-openssl.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/extract-openssl.c')
-rw-r--r--trust/extract-openssl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/trust/extract-openssl.c b/trust/extract-openssl.c
index 912c90d..d622d7a 100644
--- a/trust/extract-openssl.c
+++ b/trust/extract-openssl.c
@@ -110,8 +110,8 @@ load_usage_ext (p11_enumerate *ex,
node_asn *ext = NULL;
size_t length;
- if (ex->stapled)
- ext = p11_dict_get (ex->stapled, ext_oid);
+ if (ex->attached)
+ ext = p11_dict_get (ex->attached, ext_oid);
if (ext == NULL) {
*oids = NULL;
return true;
@@ -230,8 +230,8 @@ write_keyid (p11_enumerate *ex,
size_t length = 0;
int ret;
- if (ex->stapled)
- ext = p11_dict_get (ex->stapled, P11_OID_SUBJECT_KEY_IDENTIFIER);
+ if (ex->attached)
+ ext = p11_dict_get (ex->attached, P11_OID_SUBJECT_KEY_IDENTIFIER);
if (ext != NULL) {
value = p11_asn1_read (ext, "extnValue", &length);
return_val_if_fail (value != NULL, false);