aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-12 02:28:44 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-12 02:28:44 -0900
commit0154bd84a385b57aa7e28bc04179d7f3bde0609f (patch)
treeb1e88a60b7f44730557f72ee24b2da9bbfd70eb7
parentbc1545a1170d6cd3f35ffba599d31189a6af74ed (diff)
downloadotputils-0154bd84a385b57aa7e28bc04179d7f3bde0609f.tar.gz
otputils-0154bd84a385b57aa7e28bc04179d7f3bde0609f.tar.bz2
otputils-0154bd84a385b57aa7e28bc04179d7f3bde0609f.tar.xz
otputils-0154bd84a385b57aa7e28bc04179d7f3bde0609f.zip
test-otp-decode: updating output format
-rw-r--r--tests/test-otp-decode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-otp-decode.c b/tests/test-otp-decode.c
index d358b09..a061172 100644
--- a/tests/test-otp-decode.c
+++ b/tests/test-otp-decode.c
@@ -197,8 +197,8 @@ main(
197 197
198 if (!(quiet)) 198 if (!(quiet))
199 { 199 {
200 printf("Hash Pass Phrase Seed Cnt Hex Six Word Format\n"); 200 printf("Hash Pass Phrase Seed Cnt Hex Six Word Format\n");
201 printf("=========================================================================================\n"); 201 printf("==============================================================================================\n");
202 }; 202 };
203 for(pos = 0; ((otp_test_data[pos].hex)); pos++) 203 for(pos = 0; ((otp_test_data[pos].hex)); pos++)
204 { 204 {
@@ -208,8 +208,8 @@ main(
208 if (!(quiet)) 208 if (!(quiet))
209 { 209 {
210 printf("%-5s ", otputil_md2str(rec->method)); 210 printf("%-5s ", otputil_md2str(rec->method));
211 printf("%-17s ", rec->pass); 211 printf("%-20s ", rec->pass);
212 printf("%-9s ", rec->seed); 212 printf("%-11s ", rec->seed);
213 printf("%2i ", rec->count); 213 printf("%2i ", rec->count);
214 printf("%-20s ", rec->hex); 214 printf("%-20s ", rec->hex);
215 printf("%s\n", rec->six); 215 printf("%s\n", rec->six);