diff --git a/src/operations_ccid.c b/src/operations_ccid.c index 1ca6f54..a9cf1c9 100644 --- a/src/operations_ccid.c +++ b/src/operations_ccid.c @@ -68,6 +68,7 @@ int nk3_change_pin(struct Device *dev, const char *old_pin, const char*new_pin) struct libusb_device_descriptor usb_desc; if (!dev->mp_devhandle_ccid) { + printf("No Nitrokey 3 found. No operation performed\n"); return RET_NO_ERROR; } @@ -81,6 +82,7 @@ int nk3_change_pin(struct Device *dev, const char *old_pin, const char*new_pin) if (usb_desc.idVendor != NITROKEY_USB_VID || usb_desc.idProduct != NITROKEY_3_USB_PID) { + printf("No Nitrokey 3 found. No operation performed\n"); return RET_NO_ERROR; }