diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/passphrase_helper.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/passphrase_helper.h b/src/passphrase_helper.h index 038ba85..1ba5833 100644 --- a/src/passphrase_helper.h +++ b/src/passphrase_helper.h @@ -25,17 +25,25 @@ # warning You cannot have both PASSPHRASE_TEXT and PASSPHRASE_STAR # undef PASSPHRASE_TEXT #endif +#if defined(PASSPHRASE_STAR) && defined(PASSPHRASE_ECHO) +# warning You cannot have both PASSPHRASE_STAR and PASSPHRASE_ECHO +# undef PASSPHRASE_ECHO +#endif +#if defined(PASSPHRASE_TEXT) && defined(PASSPHRASE_ECHO) +# warning You cannot have both PASSPHRASE_TEXT and PASSPHRASE_ECHO +# undef PASSPHRASE_ECHO +#endif /* Default texts */ #ifndef PASSPHRASE_STAR_CHAR -# define PASSPHRASE_STAR_CHAR "*" /* TODO document */ +# define PASSPHRASE_STAR_CHAR "*" #endif #ifndef PASSPHRASE_TEXT_EMPTY -# define PASSPHRASE_TEXT_EMPTY "(empty)" /* TODO document */ +# define PASSPHRASE_TEXT_EMPTY "(empty)" #endif #ifndef PASSPHRASE_TEXT_NOT_EMPTY -# define PASSPHRASE_TEXT_NOT_EMPTY "(not empty)" /* TODO document */ +# define PASSPHRASE_TEXT_NOT_EMPTY "(not empty)" #endif |