Changeset 854 in openpam
- Timestamp:
- Jan 27, 2015, 10:13:03 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CREDITS
r813 r854 22 22 Daniel Richard G. <skunk@iskunk.org> 23 23 Darren J. Moffat <darren.moffat@sun.com> 24 Dimitry Andric <dim@freebsd.org> 24 25 Dmitry V. Levin <ldv@altlinux.org> 25 26 Don Lewis <truckman@freebsd.org> -
trunk/configure.ac
r853 r854 143 143 AC_ARG_ENABLE([developer-warnings], 144 144 AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]), 145 [CFLAGS="${CFLAGS} -Wall -Wextra "])145 [CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual"]) 146 146 AC_ARG_ENABLE([debugging-symbols], 147 147 AS_HELP_STRING([--enable-debugging-symbols], [enable debugging symbols (default is NO)]), -
trunk/lib/libpam/openpam_dispatch.c
r802 r854 118 118 pam_sm_func_name[primitive], chain->module->path); 119 119 r = (chain->module->func[primitive])(pamh, flags, 120 chain->optc, (const char **) chain->optv);120 chain->optc, (const char **)(intptr_t)chain->optv); 121 121 pamh->current = NULL; 122 122 openpam_log(PAM_LOG_LIBDEBUG, "%s: %s(): %s", -
trunk/modules/pam_oath/pam_oath.c
r799 r854 176 176 enum pam_oath_nokey nokey, badkey; 177 177 struct passwd *pwd; 178 const char *user ;179 char * keyfile;178 const char *user, *password; 179 char *end, *keyfile; 180 180 struct oath_key *key; 181 181 unsigned long response; 182 char *password, *end;183 182 int pam_err, ret, window; 184 183 … … 248 247 /* get user's response */ 249 248 pam_err = pam_get_authtok(pamh, PAM_AUTHTOK, 250 (const char **)&password, PAM_OATH_PROMPT);249 &password, PAM_OATH_PROMPT); 251 250 if (pam_err != PAM_SUCCESS) { 252 251 openpam_log(PAM_LOG_VERBOSE, "conversation failure"); -
trunk/modules/pam_unix/pam_unix.c
r648 r854 75 75 struct passwd *pwd; 76 76 const char *user; 77 c har *crypt_password, *password;77 const char *crypt_password, *password; 78 78 int pam_err, retry; 79 79 … … 99 99 #ifdef OPENPAM 100 100 pam_err = pam_get_authtok(pamh, PAM_AUTHTOK, 101 (const char **)&password, NULL);101 &password, NULL); 102 102 #else 103 103 resp = NULL;
Note: See TracChangeset
for help on using the changeset viewer.