Changeset 3486

Show
Ignore:
Timestamp:
04/21/08 10:42:24 (4 months ago)
Author:
alonbl
Message:

If the reader is virtual there is no token

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/alonbl/pnp/src/pkcs11/slot.c

    r3404 r3486  
    8787 
    8888                if (rdr == NULL) 
    89                         return CKR_GENERAL_ERROR; 
     89                        return CKR_TOKEN_NOT_PRESENT; 
    9090                slot = virtual_slots + card->first_slot + i; 
    9191                strcpy_bp(slot->slot_info.slotDescription, rdr->name, 64);