pam_unix.c [PATCH].

2003-05-29 Thread Pawel Jakub Dawidek
Hello.

I think there is no need to open a PR for this.
Argument 'flags' marked as unused is used in those functions:

--- pam_unix.c.orig Wed May 28 23:31:54 2003
+++ pam_unix.c  Wed May 28 23:32:40 2003
@@ -95,8 +95,7 @@
  * authentication management
  */
 PAM_EXTERN int
-pam_sm_authenticate(pam_handle_t *pamh, int flags __unused,
-int argc, const char *argv[])
+pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char *argv[])
 {
login_cap_t *lc;
struct options options;
@@ -159,8 +158,7 @@
  * account management
  */
 PAM_EXTERN int
-pam_sm_acct_mgmt(pam_handle_t *pamh, int flags __unused,
-int argc, const char *argv[])
+pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char *argv[])
 {
struct addrinfo hints, *res;
struct options options;

-- 
Pawel Jakub Dawidek   [EMAIL PROTECTED]
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net


pgp0.pgp
Description: PGP signature


Re: pam_unix.c [PATCH].

2003-05-29 Thread Dag-Erling Smorgrav
Pawel Jakub Dawidek [EMAIL PROTECTED] writes:
 I think there is no need to open a PR for this.
 Argument 'flags' marked as unused is used in those functions:

Yeah.  It shouldn't be, though, pretty much everyone (including the
Sun engineers in charge of PAM) agrees that PAM_DISALLOW_NULL_AUTHTOK
is evil and should go away.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]