diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-22 09:45:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-22 09:45:40 +0100 |
commit | 4b204339078eb55ba9309f1fd669b1792d6b43c6 (patch) | |
tree | ee1d4a016b24b92201ceada7c1b991a69d8e8af4 /src/auth.h | |
parent | fix chmod and chown of tty device files (diff) | |
download | libpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.gz libpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.bz2 libpassphrase-4b204339078eb55ba9309f1fd669b1792d6b43c6.tar.xz |
add crypt auth module
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/auth.h')
-rw-r--r-- | src/auth.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -31,6 +31,15 @@ #elif AUTH == 1 +#include "auth/crypt.h" +#define close_login_session(...) /* do nothing */ +#define initialise_login initialise_crypt +#define authenticate_login authenticate_crypt +#define verify_account(...) /* do nothing */ +#define open_login_session(...) /* do nothing */ + +#elif AUTH == 2 + #include "auth/pam.h" #define close_login_session close_session_pam #define initialise_login initialise_pam |