summaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-09-09 16:42:31 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-09-10 10:51:53 +0200
commita46491a97da08e495c92bba8046426678b5564f7 (patch)
treed332db36123c80ac84474c75b9be4acdff81bf54 /device.cc
parent3632e8a32d47950102bc077fd32f9c88316370e9 (diff)
downloadlibnitrokey-a46491a97da08e495c92bba8046426678b5564f7.tar.gz
libnitrokey-a46491a97da08e495c92bba8046426678b5564f7.tar.bz2
Remove asserts in favor of exceptions or warnings. Test changes in Python.
On possible data truncation return LibraryError(exception) instead of silently truncating and logging warning Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
0 files changed, 0 insertions, 0 deletions