diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2018-05-31 00:20:18 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-05-31 00:20:18 +0000 |
commit | e4a1c685a4b6b470194f4f5d1b69e7d9b2b4c63a (patch) | |
tree | 9018bed83fb8c012668f8ab9b6791816aedaf467 /modules/pam_unix/pam_unix_auth.c | |
parent | a2b72aeb86f297d349bc9e6a8f059fedf97a499a (diff) | |
download | pam-e4a1c685a4b6b470194f4f5d1b69e7d9b2b4c63a.tar.gz pam-e4a1c685a4b6b470194f4f5d1b69e7d9b2b4c63a.tar.bz2 pam-e4a1c685a4b6b470194f4f5d1b69e7d9b2b4c63a.zip |
pam_unix: remove obsolete _UNIX_AUTHTOK, _UNIX_OLD_AUTHTOK, and _UNIX_NEW_AUTHTOK macros
The last use of these macros was removed by commit Linux-PAM-1.3.0~5
so their definitions should go as well.
* modules/pam_unix/pam_unix_auth.c (_UNIX_AUTHTOK): Remove.
* modules/pam_unix/pam_unix_passwd.c (_UNIX_OLD_AUTHTOK,
_UNIX_NEW_AUTHTOK): Likewise.
Complements: 7e09188c5dc4 ("pam_unix: Use pam_get_authtok() instead of
direct pam_prompt() calls.")
Diffstat (limited to 'modules/pam_unix/pam_unix_auth.c')
-rw-r--r-- | modules/pam_unix/pam_unix_auth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pam_unix/pam_unix_auth.c b/modules/pam_unix/pam_unix_auth.c index fce6bce1..9d9f709d 100644 --- a/modules/pam_unix/pam_unix_auth.c +++ b/modules/pam_unix/pam_unix_auth.c @@ -74,8 +74,6 @@ * onto a normal UNIX authentication */ -#define _UNIX_AUTHTOK "-UN*X-PASS" - #define AUTH_RETURN \ do { \ D(("recording return code for next time [%d]", \ |