CKF_TOKEN_PRESENT
(slot_info.flags & CKF_TOKEN_PRESENT ?
(slotinfo.flags & CKF_TOKEN_PRESENT ?
if (flags & CKF_TOKEN_PRESENT)
if ((rv == CKR_OK) && (slotinfo.flags & CKF_TOKEN_PRESENT)) {
pInfo->flags = CKF_TOKEN_PRESENT;
!(pinfo->flags & CKF_TOKEN_PRESENT)) {
pInfo->flags = CKF_TOKEN_PRESENT | CKF_HW_SLOT;
pInfo->flags = CKF_TOKEN_PRESENT;
if ((slotInfo.flags & CKF_TOKEN_PRESENT))
slot_info.flags = CKF_TOKEN_PRESENT | CKF_HW_SLOT;