Index: cackey.c ================================================================== --- cackey.c +++ cackey.c @@ -3113,12 +3113,12 @@ scard_listreaders_ret = SCardListReaders(*cackey_pcsc_handle, NULL, pcsc_readers, &pcsc_readers_len); if (scard_listreaders_ret == SCARD_S_SUCCESS) { pcsc_readers_e = pcsc_readers + pcsc_readers_len; - /* Start with Slot ID 1, to avoid a bug in GDM */ - /* Bug 619297: https://bugzilla.gnome.org/show_bug.cgi?id=619297 */ + /* Start with Slot ID 1, to avoid a bug in GDM on RHEL */ + /* Bug 594911: https://bugzilla.redhat.com/show_bug.cgi?id=594911 */ currslot = 1; while (pcsc_readers < pcsc_readers_e) { curr_reader_len = strlen(pcsc_readers); if ((pcsc_readers + curr_reader_len) > pcsc_readers_e) { @@ -3150,15 +3150,15 @@ currslot++; pcsc_readers += curr_reader_len + 1; } - /* Start with Slot ID 1, to avoid a bug in GDM */ - /* Bug 619297: https://bugzilla.gnome.org/show_bug.cgi?id=619297 */ + /* Start with Slot ID 1, to avoid a bug in GDM on RHEL */ + /* Bug 594911: https://bugzilla.redhat.com/show_bug.cgi?id=594911 */ if (currslot > 1) { - /* Start with Slot ID 1, to avoid a bug in GDM */ - /* Bug 619297: https://bugzilla.gnome.org/show_bug.cgi?id=619297 */ + /* Start with Slot ID 1, to avoid a bug in GDM on RHEL */ + /* Bug 594911: https://bugzilla.redhat.com/show_bug.cgi?id=594911 */ slot_count = currslot - 1; } } else { CACKEY_DEBUG_PRINTF("Second call to SCardListReaders failed, return %s/%li", CACKEY_DEBUG_FUNC_SCARDERR_TO_STR(scard_listreaders_ret), (long) scard_listreaders_ret); } @@ -3190,12 +3190,12 @@ return(CKR_BUFFER_TOO_SMALL); } for (currslot = 0; currslot < slot_count; currslot++) { - /* Start with Slot ID 1, to avoid a bug in GDM */ - /* Bug 619297: https://bugzilla.gnome.org/show_bug.cgi?id=619297 */ + /* Start with Slot ID 1, to avoid a bug in GDM on RHEL */ + /* Bug 594911: https://bugzilla.redhat.com/show_bug.cgi?id=594911 */ pSlotList[currslot] = currslot + 1; } *pulCount = slot_count;