Bugzilla – Attachment 455 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]
Fix for compiler warnings
auth-pam.c.diff (text/plain), 1.40 KB, created by
Paul Bolton
on 2003-09-23 20:59:11 AEST
(
hide
)
Description:
Fix for compiler warnings
Filename:
MIME Type:
Creator:
Paul Bolton
Created:
2003-09-23 20:59:11 AEST
Size:
1.40 KB
patch
obsolete
>--- ../openssh-3.7.1p1/auth-pam.c Tue Sep 16 07:00:52 2003 >+++ auth-pam.c Tue Sep 23 11:58:52 2003 >@@ -131,7 +131,7 @@ > * 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; >@@ -203,7 +203,7 @@ > #ifndef USE_POSIX_THREADS > 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); > #endif > >@@ -245,7 +245,7 @@ > } > > 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) > { > return (PAM_CONV_ERR); >@@ -282,7 +282,7 @@ > 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); > fatal_remove_cleanup(sshpam_cleanup, NULL); >@@ -596,7 +596,7 @@ > } > > static int >-pam_chauthtok_conv(int n, const struct pam_message **msg, >+pam_chauthtok_conv(int n, struct pam_message **msg, > struct pam_response **resp, void *data) > { > char input[PAM_MAX_MSG_SIZE];
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