Changeset 430


Ignore:
Timestamp:
04/10/10 15:21:46 (2 years ago)
Author:
ludovic.rousseau
Message:

Closes: Ticket #22 "get_slot_login_required missing from NSS side."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/common/pkcs11_lib.c

    r419 r430  
    663663} 
    664664 
     665int get_slot_login_required(pkcs11_handle_t *h) 
     666{ 
     667  if (h->slot == NULL) { 
     668    DBG("Login failed: No Slot selected"); 
     669    return -1; 
     670  } 
     671 
     672  return PK11_NeedLogin(h->slot); 
     673} 
     674 
    665675int close_pkcs11_session(pkcs11_handle_t *h) 
    666676{ 
Note: See TracChangeset for help on using the changeset viewer.