summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-17 11:16:48 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:47 +0100
commit4e26fdee0c1435016d6642cf8c1f88c3dd5495fa (patch)
tree28a8f76ddfd99719c4ff92a5201562284d7f38de /NitrokeyManager.cc
parent8617a13371d087b1eb67bd066926038d289ab331 (diff)
downloadlibnitrokey-4e26fdee0c1435016d6642cf8c1f88c3dd5495fa.tar.gz
libnitrokey-4e26fdee0c1435016d6642cf8c1f88c3dd5495fa.tar.bz2
Return SD card size as get from the device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 176f516..20d1a98 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -787,7 +787,7 @@ namespace nitrokey{
misc::execute_password_command<stick20::DisableHiddenEncryptedPartition>(device, "");
}
- int NitrokeyManager::get_SD_card_size() {
+ uint8_t NitrokeyManager::get_SD_card_size() {
auto data = stick20::ProductionTest::CommandTransaction::run(device);
return data.data().SD_Card_Size_u8;
}