aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/otputil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/otputil.c')
-rw-r--r--src/otputil.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/otputil.c b/src/otputil.c
index fac63f2..5c7d798 100644
--- a/src/otputil.c
+++ b/src/otputil.c
@@ -183,33 +183,13 @@ static otputil_widget_t otputil_widget_map[] =
183 .func_usage = &otputil_widget_otp_usage, 183 .func_usage = &otputil_widget_otp_usage,
184 }, 184 },
185 { .name = "otp-md4", 185 { .name = "otp-md4",
186 .desc = "otp alias for MD4", 186 .desc = NULL,
187 .usage = " [ sequence [ seed [ code ]]]",
188 .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"),
189 .arg_min = 0,
190 .arg_max = 3,
191 .aliases = NULL,
192 .func_exec = &otputil_widget_otp_md4,
193 .func_usage = NULL,
194 },
195 { .name = "otp-md5",
196 .desc = "otp alias for MD5",
197 .usage = " [ sequence [ seed [ code ]]]",
198 .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"),
199 .arg_min = 0,
200 .arg_max = 3,
201 .aliases = NULL,
202 .func_exec = &otputil_widget_otp_md5,
203 .func_usage = NULL,
204 },
205 { .name = "otp-sha1",
206 .desc = "otp alias for SHA1",
207 .usage = " [ sequence [ seed [ code ]]]", 187 .usage = " [ sequence [ seed [ code ]]]",
208 .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), 188 .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"),
209 .arg_min = 0, 189 .arg_min = 0,
210 .arg_max = 3, 190 .arg_max = 3,
211 .aliases = NULL, 191 .aliases = (const char *[]){ "otp-md5", "otp-sha1", "otp-sha256", "otp-sha512", NULL },
212 .func_exec = &otputil_widget_otp_sha1, 192 .func_exec = &otputil_widget_otp,
213 .func_usage = NULL, 193 .func_usage = NULL,
214 }, 194 },
215 { .name = "skey", 195 { .name = "skey",