aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-17 11:12:04 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-17 11:12:04 -0900
commit169310b7bfce5e45c1abfaf4938e3176c70597d2 (patch)
tree64c222662531861e5ac019091bab3cabd800001a
parent3010bb63542411c254e8464696edefe2f98c10cf (diff)
downloadotputils-169310b7bfce5e45c1abfaf4938e3176c70597d2.tar.gz
otputils-169310b7bfce5e45c1abfaf4938e3176c70597d2.tar.bz2
otputils-169310b7bfce5e45c1abfaf4938e3176c70597d2.tar.xz
otputils-169310b7bfce5e45c1abfaf4938e3176c70597d2.zip
otputil: updating comments in verbose output
-rw-r--r--src/widget-otp.c2
-rw-r--r--src/widget-skey.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/widget-otp.c b/src/widget-otp.c
index 02a8d41..09918bb 100644
--- a/src/widget-otp.c
+++ b/src/widget-otp.c
@@ -261,7 +261,7 @@ otputil_widget_otp_verbose(
261 otputil_get_param(NULL, OTPUTIL_OPT_DESC, &util_desc); 261 otputil_get_param(NULL, OTPUTIL_OPT_DESC, &util_desc);
262 262
263 // print secret information 263 // print secret information
264 printf("S/KEY Secret:\n"); 264 printf("OTP Secret:\n");
265 printf(" Description: %s\n", (((util_desc)) ? util_desc : "n/a") ); 265 printf(" Description: %s\n", (((util_desc)) ? util_desc : "n/a") );
266 printf(" Method: OTP (RFC2289)\n"); 266 printf(" Method: OTP (RFC2289)\n");
267 printf(" Hash: %s\n", otputil_md2str(otp_hash)); 267 printf(" Hash: %s\n", otputil_md2str(otp_hash));
diff --git a/src/widget-skey.c b/src/widget-skey.c
index 0ec5d6d..e56a312 100644
--- a/src/widget-skey.c
+++ b/src/widget-skey.c
@@ -236,7 +236,7 @@ otputil_widget_skey_verbose(
236 otputil_get_param(NULL, OTPUTIL_OPT_DESC, &util_desc); 236 otputil_get_param(NULL, OTPUTIL_OPT_DESC, &util_desc);
237 237
238 // print secret information 238 // print secret information
239 printf("S/KEY Secret:\n"); 239 printf("OTP Secret:\n");
240 printf(" Description: %s\n", (((util_desc)) ? util_desc : "n/a") ); 240 printf(" Description: %s\n", (((util_desc)) ? util_desc : "n/a") );
241 printf(" Method: S/KEY (RFC1760)\n"); 241 printf(" Method: S/KEY (RFC1760)\n");
242 printf(" Hash: %s\n", otputil_md2str(skey_hash)); 242 printf(" Hash: %s\n", otputil_md2str(skey_hash));