Bugzilla – Attachment 674 Details for
Bug 705
Compiler warnings in auth-pam.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to -current
openssh-pam-warn.patch (text/plain), 2.27 KB, created by
Darren Tucker
on 2004-07-01 12:34:50 AEST
(
hide
)
Description:
Update to -current
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-07-01 12:34:50 AEST
Size:
2.27 KB
patch
obsolete
>Index: auth-pam.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-pam.c,v >retrieving revision 1.108 >diff -u -p -r1.108 auth-pam.c >--- auth-pam.c 30 Jun 2004 10:34:32 -0000 1.108 >+++ auth-pam.c 1 Jul 2004 02:20:11 -0000 >@@ -264,7 +264,7 @@ import_environments(Buffer *b) > * Conversation function for authentication thread. > */ > static int >-sshpam_thread_conv(int n, const struct pam_message **msg, >+sshpam_thread_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > Buffer buffer; >@@ -362,7 +362,7 @@ sshpam_thread(void *ctxtp) > u_int i; > const char *pam_user; > >- pam_get_item(sshpam_handle, PAM_USER, (const void **)&pam_user); >+ pam_get_item(sshpam_handle, PAM_USER, (void **)&pam_user); > setproctitle("%s [pam]", pam_user); > environ[0] = NULL; > #endif >@@ -450,7 +450,7 @@ sshpam_thread_cleanup(void) > } > > static int >-sshpam_null_conv(int n, const struct pam_message **msg, >+sshpam_null_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > debug3("PAM: %s entering, %d messages", __func__, n); >@@ -488,7 +488,7 @@ sshpam_init(Authctxt *authctxt) > if (sshpam_handle != NULL) { > /* We already have a PAM context; check if the user matches */ > sshpam_err = pam_get_item(sshpam_handle, >- PAM_USER, (const void **)&pam_user); >+ PAM_USER, (void **)&pam_user); > if (sshpam_err == PAM_SUCCESS && strcmp(user, pam_user) == 0) > return (0); > pam_end(sshpam_handle, sshpam_err); >@@ -786,7 +786,7 @@ do_pam_setcred(int init) > } > > static int >-sshpam_tty_conv(int n, const struct pam_message **msg, >+sshpam_tty_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > char input[PAM_MAX_MSG_SIZE]; >@@ -863,7 +863,7 @@ do_pam_chauthtok(void) > } > > static int >-sshpam_store_conv(int n, const struct pam_message **msg, >+sshpam_store_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > struct pam_response *reply; >@@ -978,7 +978,7 @@ free_pam_environment(char **env) > * display. > */ > static int >-sshpam_passwd_conv(int n, const struct pam_message **msg, >+sshpam_passwd_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > struct pam_response *reply;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 705
:
455
|
526
| 674