From c5aef9868c5c703a3e9682300068407f17e517a3 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Wed, 2 May 2012 21:11:28 +0000 Subject: move all PAM_AUTHTOK_RECOVERY_ERR compatibility definitions to compat/pam_compat.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1677 ef36b2f9-881f-0410-afb5-c4e39611909c --- compat/pam_get_authtok.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'compat/pam_get_authtok.c') diff --git a/compat/pam_get_authtok.c b/compat/pam_get_authtok.c index a2f3b9a..17b97ad 100644 --- a/compat/pam_get_authtok.c +++ b/compat/pam_get_authtok.c @@ -35,15 +35,6 @@ /* warning: this version assumes that try_first_pass is specified */ -/* find value of PAM_AUTHTOK_RECOVERY_ERR */ -#ifndef PAM_AUTHTOK_RECOVERY_ERR -#ifdef PAM_AUTHTOK_RECOVER_ERR -#define PAM_AUTHTOK_RECOVERY_ERR PAM_AUTHTOK_RECOVER_ERR -#else -#define PAM_AUTHTOK_RECOVERY_ERR 21 /* not defined anywhere */ -#endif -#endif - int pam_get_authtok(pam_handle_t *pamh,int item,const char **authtok,const char *prompt) { int rc; -- cgit v1.2.3