Diff

Differences From Artifact [7d1ac77f37]:

To Artifact [c6e4c2b8b9]:


  3229   3229   
  3230   3230   		return(CKR_GENERAL_ERROR);
  3231   3231   	}
  3232   3232   
  3233   3233   	if (pSlotList == NULL) {
  3234   3234   		*pulCount = slot_count;
  3235   3235   
  3236         -		CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i)", CKR_OK);
         3236  +		CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i).  Found %lu readers, but not storing IDs (pSlotList == NULL)", CKR_OK, (unsigned long) slot_count);
  3237   3237   
  3238   3238   		return(CKR_OK);
  3239   3239   	}
  3240   3240   
  3241   3241   	count = *pulCount;
  3242   3242   	if (count < slot_count) {
  3243   3243   		CACKEY_DEBUG_PRINTF("Error. User allocated %lu entries, but we have %lu entries.", count, slot_count);