);
buildSettings = {
BUILD_VARIANTS = "normal debug";
- CURRENT_PROJECT_VERSION = 26232;
+ CURRENT_PROJECT_VERSION = 26674;
FRAMEWORK_SEARCH_PATHS = "/usr/local/SecurityPieces/Frameworks /usr/local/SecurityPieces/Components/securityd $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks";
INSTALL_PATH = /usr/sbin;
OPT_CPPXFLAGS = "$(OPT_CXFLAGS)";
{
try {
secdebug("scsel", "%s", dev.path().c_str());
+
+ // composite USB device with interface class
if (CFRef<CFNumberRef> cfInterface = dev.property<CFNumberRef>("bInterfaceClass"))
switch (IFDEBUG(uint32 clas =) cfNumber(cfInterface)) {
case kUSBChipSmartCardInterfaceClass: // CCID smartcard reader - go
secdebug("scsel", " interface class %ld is not a smartcard device", clas);
return impossible;
}
+
+ // noncomposite USB device
if (CFRef<CFNumberRef> cfDevice = dev.property<CFNumberRef>("bDeviceClass"))
if (cfNumber(cfDevice) == kUSBVendorSpecificClass) {
secdebug("scsel", " Vendor-specific device - possible match");
return possible;
}
+
+ // PCCard (aka PCMCIA aka ...) interface (don't know how to recognize a reader here)
+ if (CFRef<CFStringRef> ioName = dev.property<CFStringRef>("IOName"))
+ if (cfString(ioName).find("pccard", 0, 1) == 0) {
+ secdebug("scsel", " PCCard - possible match");
+ return possible;
+ }
return impossible;
} catch (...) {
secdebug("scsel", " exception while examining device - ignoring it");