summaryrefslogtreecommitdiff
path: root/p11-capi-cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-capi-cert.c')
-rw-r--r--p11-capi-cert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/p11-capi-cert.c b/p11-capi-cert.c
index 960073a..53e198f 100644
--- a/p11-capi-cert.c
+++ b/p11-capi-cert.c
@@ -259,7 +259,7 @@ cert_alloc_data(P11cSession* sess, P11cObject* obj, PCCERT_CONTEXT cert)
return NULL;
cdata->cert = cert;
- cdata->is_in_root = (p11c_token_get_flags(sess->slot) & P11c_SLOT_CA) ? TRUE : FALSE;
+ cdata->is_in_root = (p11c_token_get_flags(sess->slot) & P11C_SLOT_CA) ? TRUE : FALSE;
cdata->base.object = obj->id;
cdata->base.data_funcs = &cert_objdata_vtable;
@@ -677,7 +677,7 @@ p11c_cert_find(P11cSession* sess, CK_OBJECT_CLASS cls, CK_ATTRIBUTE_PTR match,
return CKR_OK;
/* Only work with slots that have certificates */
- if(!(p11c_token_get_flags (sess->slot) & P11c_SLOT_CERTS))
+ if(!(p11c_token_get_flags (sess->slot) & P11C_SLOT_CERTS))
return CKR_OK;
/*