diff options
author | szszszsz <szszszsz@users.noreply.github.com> | 2016-09-08 16:49:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-08 16:49:52 +0200 |
commit | e164c5f3dc74fb2335b1fc573ce446cdd76a07dc (patch) | |
tree | e11e0a7458d7aae9e484722550c60292b3a6d9ba /include/misc.h | |
parent | 7dbbe7fb4c50c62b0e1818c5356aafb97a00ac0f (diff) | |
parent | bcbb54f49fad3f4bb3e8e6aca081d9d300e74d2b (diff) | |
download | libnitrokey-e164c5f3dc74fb2335b1fc573ce446cdd76a07dc.tar.gz libnitrokey-e164c5f3dc74fb2335b1fc573ce446cdd76a07dc.tar.bz2 |
Merge pull request #34 from Nitrokey/issue_33
Function for getting device's serial number in hex. Fixes #33
Diffstat (limited to 'include/misc.h')
-rw-r--r-- | include/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/misc.h b/include/misc.h index a5d9e6d..cccd830 100644 --- a/include/misc.h +++ b/include/misc.h @@ -15,7 +15,7 @@ typename T::CommandPayload get_payload(){ } - std::string hexdump(const char *p, size_t size); + std::string hexdump(const char *p, size_t size, bool print_header=true); uint32_t stm_crc32(const uint8_t *data, size_t size); } } |