aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-12 02:29:07 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-12 02:29:07 -0900
commit6212ed4c27c272bd7335c39fa82b9811fcfda7b0 (patch)
tree5d6325205d130ddc4929c108e3b14471e1d4a114
parentd36e134666ed0c1c266be32ca421c9a6ef545d9e (diff)
downloadotputils-6212ed4c27c272bd7335c39fa82b9811fcfda7b0.tar.gz
otputils-6212ed4c27c272bd7335c39fa82b9811fcfda7b0.tar.bz2
otputils-6212ed4c27c272bd7335c39fa82b9811fcfda7b0.tar.xz
otputils-6212ed4c27c272bd7335c39fa82b9811fcfda7b0.zip
test-otp: updating output format
-rw-r--r--tests/test-otp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-otp.c b/tests/test-otp.c
index f9f4f43..9a522fc 100644
--- a/tests/test-otp.c
+++ b/tests/test-otp.c
@@ -190,8 +190,8 @@ main(
190 190
191 if (!(quiet)) 191 if (!(quiet))
192 { 192 {
193 printf("Hash Pass Phrase Seed Cnt Hex Six Word Format\n"); 193 printf("Hash Pass Phrase Seed Cnt Hex Six Word Format\n");
194 printf("=========================================================================================\n"); 194 printf("==============================================================================================\n");
195 }; 195 };
196 for(pos = 0; ((otp_test_data[pos].hex)); pos++) 196 for(pos = 0; ((otp_test_data[pos].hex)); pos++)
197 { 197 {
@@ -211,8 +211,8 @@ main(
211 if (!(quiet)) 211 if (!(quiet))
212 { 212 {
213 printf("%-5s ", otputil_md2str(rec->method)); 213 printf("%-5s ", otputil_md2str(rec->method));
214 printf("%-17s ", rec->pass); 214 printf("%-20s ", rec->pass);
215 printf("%-9s ", rec->seed); 215 printf("%-11s ", rec->seed);
216 printf("%2i ", rec->count); 216 printf("%2i ", rec->count);
217 printf("%-20s ", rec->hex); 217 printf("%-20s ", rec->hex);
218 printf("%s\n", rec->six); 218 printf("%s\n", rec->six);