From b3e582f8c39acfc82d040ec6be39ef9fa8ef024e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 9 Dec 2008 20:13:21 +0000 Subject: Same more fixes after rename. --- p11-capi-cert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p11-capi-cert.c') 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; /* -- cgit v1.2.3