aboutsummaryrefslogtreecommitdiff
path: root/unittest/test_HOTP.cc
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/test_HOTP.cc')
-rw-r--r--unittest/test_HOTP.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/test_HOTP.cc b/unittest/test_HOTP.cc
index d8c4bf3..9db23ca 100644
--- a/unittest/test_HOTP.cc
+++ b/unittest/test_HOTP.cc
@@ -46,7 +46,7 @@ TEST_CASE("Test HOTP codes according to RFC", "[HOTP]") {
{
FirstAuthenticate::CommandTransaction::CommandPayload authreq;
strcpy((char *)(authreq.card_password), "12345678");
- // strcpy((char *)(authreq.temporary_password), temporary_password);
+ strcpy((char *)(authreq.temporary_password), temporary_password);
FirstAuthenticate::CommandTransaction::run(stick, authreq);
}
@@ -65,7 +65,7 @@ TEST_CASE("Test HOTP codes according to RFC", "[HOTP]") {
//authorize writehotp first
{
Authorize::CommandTransaction::CommandPayload auth;
- // strcpy((char *)(auth.temporary_password), temporary_password);
+ strcpy((char *)(auth.temporary_password), temporary_password);
auth.crc_to_authorize = WriteToHOTPSlot::CommandTransaction::getCRC(hwrite);
Authorize::CommandTransaction::run(stick, auth);
}