[Bug 705] Compiler warnings in auth-pam.c

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 1 12:34:56 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=705

dtucker at zip.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #455 is|0                           |1
           obsolete|                            |
 Attachment #526 is|0                           |1
           obsolete|                            |



------- Additional Comments From dtucker at zip.com.au  2004-07-01 12:34 -------
Created an attachment (id=674)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=674&action=view)
Update to -current

This patch makes auth-pam.c match the prototypes defined by the PAM specs for
the conversation function and get_pam_item.  See OSF RFC 86.0[1] (A.1 and
appendix B) and and XSS0[2] (ss 5.1.2 and ch 6).

It will cause warnings similar to the following on platforms that don't match
the specs:

auth-pam.c: In function `sshpam_thread':
auth-pam.c:365: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
auth-pam.c:370: warning: assignment from incompatible pointer type
auth-pam.c: At top level:
auth-pam.c:460: warning: initialization from incompatible pointer type
auth-pam.c: In function `sshpam_init':
auth-pam.c:491: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
auth-pam.c: At top level:
auth-pam.c:842: warning: initialization from incompatible pointer type
auth-pam.c:908: warning: initialization from incompatible pointer type
auth-pam.c:1034: warning: initialization from incompatible pointer type

[1] http://www.opengroup.org/tech/rfc/mirror-rfc/rfc86.0.txt
[2] http://www.opengroup.org/onlinepubs/008329799/



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list