aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/pam_unix_passwd.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2018-05-31 00:20:18 +0000
committerDmitry V. Levin <ldv@altlinux.org>2018-05-31 00:20:18 +0000
commite4a1c685a4b6b470194f4f5d1b69e7d9b2b4c63a (patch)
tree9018bed83fb8c012668f8ab9b6791816aedaf467 /modules/pam_unix/pam_unix_passwd.c
parenta2b72aeb86f297d349bc9e6a8f059fedf97a499a (diff)
downloadpam-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_passwd.c')
-rw-r--r--modules/pam_unix/pam_unix_passwd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index 9fdebefb..302cf126 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -106,11 +106,6 @@ extern int getrpcport(const char *host, unsigned long prognum,
Sets it.
*/
-/* data tokens */
-
-#define _UNIX_OLD_AUTHTOK "-UN*X-OLD-PASS"
-#define _UNIX_NEW_AUTHTOK "-UN*X-NEW-PASS"
-
#define MAX_PASSWD_TRIES 3
#ifdef HAVE_NIS