From b1e0ee5333c68adc39c6b0797cd85bc4cd45add9 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 29 Mar 2016 14:57:11 +0200 Subject: fix slot name shortened --- unittest/test_HOTP.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittest') 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(hwrite.slot_name), "rfc4226_libnitro_test"); + strcpy(reinterpret_cast(hwrite.slot_name), "rfc4226_lib"); //strcpy(reinterpret_cast(hwrite.slot_secret), ""); const char* secretHex = "3132333435363738393031323334353637383930"; hexStringToByte(hwrite.slot_secret, secretHex); -- cgit v1.2.3