| 248 | } |
| 249 | |
| 250 | void DeviceBase::updateHashLinuxRootHubDeviceDescriptor(const USBDescriptor* const descriptor) |
| 251 | { |
| 252 | USBGUARD_LOG(Trace); |
| 253 | USBDeviceDescriptor descriptor_modified = *reinterpret_cast<const USBDeviceDescriptor*>(descriptor); |
| 254 | descriptor_modified.bcdDevice = 0; |
| 255 | updateHash(&descriptor_modified, sizeof descriptor_modified); |
| 256 | } |
| 257 | |
| 258 | } /* namespace usbguard */ |
| 259 |
nothing calls this directly
no outgoing calls
no test coverage detected