aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-12-30 13:23:28 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-12-30 13:23:28 -0900
commit01a445f0583e29c1a496e6cd6167bf23ad06f874 (patch)
tree463fc6a2249ebcf95a505cbb2b2202885fda3158 /src
parentaf77fd05e50c6355e419620b319680eeecd3db7c (diff)
downloadotputils-01a445f0583e29c1a496e6cd6167bf23ad06f874.tar.gz
otputils-01a445f0583e29c1a496e6cd6167bf23ad06f874.tar.bz2
otputils-01a445f0583e29c1a496e6cd6167bf23ad06f874.tar.xz
otputils-01a445f0583e29c1a496e6cd6167bf23ad06f874.zip
libtotputils: renaming totputils_getpass() to otputil_getpass()
Diffstat (limited to 'src')
-rw-r--r--src/widget-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget-verify.c b/src/widget-verify.c
index c149824..927390f 100644
--- a/src/widget-verify.c
+++ b/src/widget-verify.c
@@ -83,7 +83,7 @@ totp_widget_verify(
83 if ((rc = totp_arguments(cnf, cnf->argc, cnf->argv)) != 0) 83 if ((rc = totp_arguments(cnf, cnf->argc, cnf->argv)) != 0)
84 return((rc == -1) ? 0 : 1); 84 return((rc == -1) ? 0 : 1);
85 if ((user_str = ((cnf->argc > optind)) ? cnf->argv[optind] : NULL) == NULL) 85 if ((user_str = ((cnf->argc > optind)) ? cnf->argv[optind] : NULL) == NULL)
86 user_str = totputils_getpass("Enter OTP code: ", NULL, 0); 86 user_str = otputil_getpass("Enter OTP code: ", NULL, 0);
87 user_code = (int)strtoll(user_str, NULL, 10); 87 user_code = (int)strtoll(user_str, NULL, 10);
88 88
89 if ((otp_code = totputils_code(cnf->tud)) == -1) 89 if ((otp_code = totputils_code(cnf->tud)) == -1)