summaryrefslogtreecommitdiff
path: root/p11-capi-key.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-capi-key.c')
-rw-r--r--p11-capi-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-capi-key.c b/p11-capi-key.c
index bda2baf..ed306d4 100644
--- a/p11-capi-key.c
+++ b/p11-capi-key.c
@@ -1022,7 +1022,7 @@ p11c_key_find(P11cSession* sess, CK_OBJECT_CLASS cls,
CK_RV ret = CKR_OK;
/* Is this somewhere we have all keys present? */
- if(p11c_token_get_flags(sess->slot) & P11c_SLOT_ANYKEY)
+ if(p11c_token_get_flags(sess->slot) & P11C_SLOT_ANYKEY)
{
if((cls == CKO_PRIVATE_KEY || cls == CKO_ANY) && ret == CKR_OK)
ret = find_any_keys(sess, CKO_PRIVATE_KEY, match, count, arr);