summaryrefslogtreecommitdiff
path: root/unittest/test_HOTP.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-29 14:57:11 +0200
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-29 14:57:11 +0200
commitb1e0ee5333c68adc39c6b0797cd85bc4cd45add9 (patch)
tree573d020bb82648a7c0d34a9353cc6cf5ac2ecfa8 /unittest/test_HOTP.cc
parent67fc6e40c83927d2a7f3a78af633fe76cef8cbae (diff)
downloadlibnitrokey-b1e0ee5333c68adc39c6b0797cd85bc4cd45add9.tar.gz
libnitrokey-b1e0ee5333c68adc39c6b0797cd85bc4cd45add9.tar.bz2
fix slot name shortened
Diffstat (limited to 'unittest/test_HOTP.cc')
-rw-r--r--unittest/test_HOTP.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_HOTP.cc b/unittest/test_HOTP.cc
index e3a7564..d8c4bf3 100644
--- a/unittest/test_HOTP.cc
+++ b/unittest/test_HOTP.cc
@@ -54,7 +54,7 @@ TEST_CASE("Test HOTP codes according to RFC", "[HOTP]") {
{
WriteToHOTPSlot::CommandTransaction::CommandPayload hwrite;
hwrite.slot_number = 0x10;
- strcpy(reinterpret_cast<char *>(hwrite.slot_name), "rfc4226_libnitro_test");
+ strcpy(reinterpret_cast<char *>(hwrite.slot_name), "rfc4226_lib");
//strcpy(reinterpret_cast<char *>(hwrite.slot_secret), "");
const char* secretHex = "3132333435363738393031323334353637383930";
hexStringToByte(hwrite.slot_secret, secretHex);