diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:55:39 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:55:39 +0100 |
| commit | d96a4c670fc33b6bce5399a63e866224d8541043 (patch) | |
| tree | d4da40fabc2cfbd4fc2498e3b97ccc690ca5d58c /src | |
| parent | Update e-mail (diff) | |
| download | libpassphrase-d96a4c670fc33b6bce5399a63e866224d8541043.tar.gz libpassphrase-d96a4c670fc33b6bce5399a63e866224d8541043.tar.bz2 libpassphrase-d96a4c670fc33b6bce5399a63e866224d8541043.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src')
| -rw-r--r-- | src/passphrase.h | 14 | ||||
| -rw-r--r-- | src/passphrase_helper.h | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/passphrase.h b/src/passphrase.h index 7f02c09..6379d1c 100644 --- a/src/passphrase.h +++ b/src/passphrase.h @@ -30,7 +30,7 @@ /** - * `passphrase_read2` shall not do any thing + * `passphrase_read2` shall not do anything * special, just accept the passphrase. This should * be used when getting authentication. * Should not be combined with `PASSPHRASE_READ_NEW`. @@ -38,9 +38,9 @@ #define PASSPHRASE_READ_EXISTING 0 /** - * `passphrase_read2` shall draw a pasphrase + * `passphrase_read2` shall draw a passphrase * strength meter if such capability is - * available. This should be used when create + * available. This should be used when creating * a new passphrase. * Should not be combined with `PASSPHRASE_READ_EXISTING`. */ @@ -48,10 +48,10 @@ /** * `passphrase_read2` may do as it please with the - * the screen. This is only used if combined with + * screen. This is only used if combined with * `PASSPHRASE_READ_NEW` and not with * `PASSPHRASE_READ_BELOW_FREE`. `passphrase_read2` - * will create make a line below the new current + * will create a line below the current * line and use that line to draw the passphrase * strength meter if such capability is available. */ @@ -108,7 +108,7 @@ void passphrase_wipe(char*, size_t); void passphrase_wipe1(char*); /** - * Disable echoing and do anything else to the terminal settnings `passphrase_read` requires + * Disable echoing and do anything else to the terminal settings `passphrase_read` requires */ PASSPHRASE_DEPRECATED("Please use 'passphrase_disable_echo1' instead.") void passphrase_disable_echo(void); @@ -120,7 +120,7 @@ PASSPHRASE_DEPRECATED("Please use 'passphrase_reenable_echo1' instead.") void passphrase_reenable_echo(void); /** - * Disable echoing and do anything else to the terminal settnings `passphrase_read2` requires + * Disable echoing and do anything else to the terminal settings `passphrase_read2` requires * * @param fdin File descriptor for input */ diff --git a/src/passphrase_helper.h b/src/passphrase_helper.h index 677ab05..bb5d0b9 100644 --- a/src/passphrase_helper.h +++ b/src/passphrase_helper.h @@ -57,8 +57,8 @@ #else # define LIST_PASSPHRASE_STRENGTH_LIMITS(V) \ X(V == 0, "1;31", "Well-known common password") \ - X(V <= 150, "31", "Extremely week") \ - X(V <= 200, "33", "Week") \ + X(V <= 150, "31", "Extremely weak") \ + X(V <= 200, "33", "Weak") \ X(V <= 250, "32", "Good") \ X(V <= 350, "1;32", "Strong") \ X(1, "1;7;32", "Perfect") |
