summaryrefslogtreecommitdiff
path: root/p11-capi-cert.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-09 20:13:21 +0000
committerStef Walter <stef@memberwebs.com>2008-12-09 20:13:21 +0000
commitb3e582f8c39acfc82d040ec6be39ef9fa8ef024e (patch)
tree9d487c44e4b1e5a014d17dfcecf12e0f8091f56b /p11-capi-cert.c
parentd108e2008ec7205ef3907296fd3e5a810e45919b (diff)
Same more fixes after rename.
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;
/*