Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
pam_pkcs11
pam_pkcs11-uninitialized.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_pkcs11-uninitialized.patch of Package pam_pkcs11
pkcs11_lib.c:289: warning: 'i' is used uninitialized in this function ================================================================================ --- src/common/pkcs11_lib.c +++ src/common/pkcs11_lib.c @@ -283,14 +283,15 @@ return 0; } } - } + } else { /* we're configured for a specific module and token, see if it's present */ - slot_num--; - if (slot_num >= 0 && slot_num < module->slotCount && module->slots && - module->slots[i] && PK11_IsPresent(module->slots[i])) { - h->slot = PK11_ReferenceSlot(module->slots[i]); - *slotID = PK11_GetSlotID(h->slot); - return 0; + slot_num--; + if (slot_num >= 0 && slot_num < module->slotCount && module->slots && + module->slots[slot_num] && PK11_IsPresent(module->slots[slot_num])) { + h->slot = PK11_ReferenceSlot(module->slots[slot_num]); + *slotID = PK11_GetSlotID(h->slot); + return 0; + } } return -1; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor