diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-12-02 18:32:57 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-12-02 18:32:57 +0100 |
| commit | 15bdc2e6531df7a0873149f224f68c2b7208b6d7 (patch) | |
| tree | 1e7e5da945f5ed54fef8af6701b2cefcb34af028 /src/cerberus.h | |
| parent | typo (diff) | |
| download | cerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.gz cerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.bz2 cerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.xz | |
no need for libpassphrase of auth=none
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/cerberus.h')
| -rw-r--r-- | src/cerberus.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cerberus.h b/src/cerberus.h index b82a98d..6be59fc 100644 --- a/src/cerberus.h +++ b/src/cerberus.h @@ -34,11 +34,12 @@ #include <sys/types.h> #include <grp.h> +#if AUTH > 0 #include <passphrase.h> +#endif #include "config.h" -#include "passphrase.h" #include "quit.h" #include "login.h" #include "security.h" @@ -51,7 +52,12 @@ void do_login(int argc, char** argv); + +#if AUTH > 0 char* read_passphrase(void); +#else +#define read_passphrase NULL +#endif #endif |
