aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test-otp.c
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-12 15:59:37 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-12 15:59:37 -0900
commite2fb60b1d7af5d2045db0e937abe90e4045c95e1 (patch)
treea764771f8b64fa38f9a2f71215b44a0737843511 /tests/test-otp.c
parentec33ca01ba1270133ed4220122c2c10b354bcc61 (diff)
downloadotputils-e2fb60b1d7af5d2045db0e937abe90e4045c95e1.tar.gz
otputils-e2fb60b1d7af5d2045db0e937abe90e4045c95e1.tar.bz2
otputils-e2fb60b1d7af5d2045db0e937abe90e4045c95e1.tar.xz
otputils-e2fb60b1d7af5d2045db0e937abe90e4045c95e1.zip
libotputil: updating otputil_otp_str() to include encoding
Diffstat (limited to 'tests/test-otp.c')
-rw-r--r--tests/test-otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-otp.c b/tests/test-otp.c
index 1c17cd1..73db97e 100644
--- a/tests/test-otp.c
+++ b/tests/test-otp.c
@@ -216,7 +216,7 @@ main(
216 printf("%s\n", rec->six); 216 printf("%s\n", rec->six);
217 }; 217 };
218 218
219 if ((res = otputil_otp_str(rec->pass, rec->seed, rec->count, rec->method, NULL, 0)) == NULL) 219 if ((res = otputil_otp_str(rec->pass, rec->seed, rec->count, rec->method, OTPUTIL_ENC_SIXWORD, NULL, 0)) == NULL)
220 { 220 {
221 printf("otputil_otp_str(): unknown error\n"); 221 printf("otputil_otp_str(): unknown error\n");
222 if (!(ignore_errors)) 222 if (!(ignore_errors))