Differences From Artifact [7d1ac77f37]:
- File cackey.c — part of check-in [2c67b3f70f] at 2010-06-07 19:20:35 on branch trunk — Corrected compiler warning (user: rkeene, size: 163548) [annotate] [blame] [check-ins using]
To Artifact [c6e4c2b8b9]:
- File
cackey.c
— part of check-in
[b09d33f9bc]
at
2010-06-23 22:13:02
on branch trunk
— CACKey 0.5.13
Updated debugging messages (user: rkeene, size: 163637) [annotate] [blame] [check-ins using]
3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 |
return(CKR_GENERAL_ERROR);
}
if (pSlotList == NULL) {
*pulCount = slot_count;
CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i)", CKR_OK);
return(CKR_OK);
}
count = *pulCount;
if (count < slot_count) {
CACKEY_DEBUG_PRINTF("Error. User allocated %lu entries, but we have %lu entries.", count, slot_count);
|
| |
3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 |
return(CKR_GENERAL_ERROR);
}
if (pSlotList == NULL) {
*pulCount = slot_count;
CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i). Found %lu readers, but not storing IDs (pSlotList == NULL)", CKR_OK, (unsigned long) slot_count);
return(CKR_OK);
}
count = *pulCount;
if (count < slot_count) {
CACKEY_DEBUG_PRINTF("Error. User allocated %lu entries, but we have %lu entries.", count, slot_count);
|