From efdbb3430a4315582102dc8ffe695774335474b2 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 7 Apr 2024 14:01:12 +0530 Subject: libnpass/pass_gen_t: PASS_GEN_ALPHA -> PASS_GEN_ALNUM --- include/libnpass/libnpass.h | 2 +- src/npass/npass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h index d7eef75..c5e756f 100644 --- a/include/libnpass/libnpass.h +++ b/include/libnpass/libnpass.h @@ -2,7 +2,7 @@ typedef enum { PASS_GEN_DIGIT = 0, - PASS_GEN_ALPHA = 1, + PASS_GEN_ALNUM = 1, PASS_GEN_PRINT = 2, } pass_gen_t; diff --git a/src/npass/npass.c b/src/npass/npass.c index 4eba07f..e1f0564 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -104,7 +104,7 @@ int gen(int argc, char *argv[]) { gen = PASS_GEN_DIGIT; break; case 'a': - gen = PASS_GEN_ALPHA; + gen = PASS_GEN_ALNUM; break; case 'p': gen = PASS_GEN_PRINT; -- cgit v1.2.3