1
diff -urN Linux-PAM-0.72/modules/pam_unix/pam_unix_auth.c Linux-PAM-0.72.new/modules/pam_unix/pam_unix_auth.c
2
--- Linux-PAM-0.72/modules/pam_unix/pam_unix_auth.c Mon Jan 21 15:02:45 2002
3
+++ Linux-PAM-0.72.new/modules/pam_unix/pam_unix_auth.c Mon Jan 21 15:01:38 2002
5
D(("recording return code for next time [%d]", \
7
pam_set_data(pamh, "unix_setcred_return", \
8
- (void *) &retval, NULL); \
9
+ (void *) retval, NULL); \
11
D(("done. [%s]", pam_strerror(pamh, retval))); \
16
if (on(UNIX_LIKE_AUTH, ctrl)) {
17
- int *pretval = &retval;
19
D(("recovering return code from auth call"));
20
- pam_get_data(pamh, "unix_setcred_return", (const void **) &pretval);
21
+ pam_get_data(pamh, "unix_setcred_return", (void **) &retval);
22
pam_set_data(pamh, "unix_setcred_return", NULL, NULL);
23
D(("recovered data indicates that old retval was %d", retval));