aboutsummaryrefslogtreecommitdiff
path: root/misc.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-17 16:29:21 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:47 +0100
commit5650e48b114529075d89dbdde0330901351b8460 (patch)
treec07b6715adaa10bafd76841ef1226a3659ca7d9d /misc.cc
parent4e26fdee0c1435016d6642cf8c1f88c3dd5495fa (diff)
downloadlibnitrokey-5650e48b114529075d89dbdde0330901351b8460.tar.gz
libnitrokey-5650e48b114529075d89dbdde0330901351b8460.tar.bz2
Get proper card serial for Storage. Get serial as one number.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'misc.cc')
-rw-r--r--misc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.cc b/misc.cc
index f85d486..5eb81b5 100644
--- a/misc.cc
+++ b/misc.cc
@@ -10,6 +10,8 @@
namespace nitrokey {
namespace misc {
+
+
::std::vector<uint8_t> hex_string_to_byte(const char* hexString){
const size_t big_string_size = 256; //arbitrary 'big' number
const size_t s_size = strlen(hexString);