diff options
author | Robin Krahl <me@robin-krahl.de> | 2019-01-13 12:05:00 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2019-01-13 13:27:12 +0100 |
commit | 8979b7301f79e167a8060772cf83913703f70f2c (patch) | |
tree | 032325e709781b70d920f135c0d1931753b6dfa0 /unittest/test_strdup.cpp | |
parent | 4f7c1b31191d98904276fecd236e6b68b405c349 (diff) | |
download | libnitrokey-8979b7301f79e167a8060772cf83913703f70f2c.tar.gz libnitrokey-8979b7301f79e167a8060772cf83913703f70f2c.tar.bz2 |
Change NitrokeyManager::connect_with_path to also work with Pro
Previously, Stick20 was hardcoded in connect_with_path. Now we first
use hid_enumerate to find out the model on that path, then we connect to
that model.
We also could have added the model as a parameter to connect_with_path.
Yet we cannot directly check the model after connecting, so this would
be error-prone.
Diffstat (limited to 'unittest/test_strdup.cpp')
0 files changed, 0 insertions, 0 deletions