summaryrefslogtreecommitdiff
path: root/support.c
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2018-01-23 11:21:56 -0700
committerPhilip Prindeville <philipp@redfish-solutions.com>2018-01-23 11:21:56 -0700
commitd45a2c53061a3db67e25d5997f3dcfda763b3408 (patch)
treeb8aa4bea9508fc3a315a7e1ac7d12c78d4ca2b8a /support.c
parent059e21e01fec0a72d41c8d05a2f52dc3cadcf0a0 (diff)
parent81e942c82564e0577e8ecf490b75ed99268a89cc (diff)
downloadpam_tacplus-1.5.0-beta.2.tar.gz
pam_tacplus-1.5.0-beta.2.zip
Merge branch 'master' of github.com:jeroennijhof/pam_tacplus into v1.5.xv1.5.0-beta.2
Diffstat (limited to 'support.c')
-rw-r--r--support.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/support.c b/support.c
index 2406b32..ad45580 100644
--- a/support.c
+++ b/support.c
@@ -109,14 +109,12 @@ int converse(pam_handle_t * pamh, int nargs, const struct pam_message *message,
}
/* stolen from pam_stress */
-int tacacs_get_password (pam_handle_t * pamh, int flags,
+int tacacs_get_password (pam_handle_t * pamh, int flags __Unused,
int ctrl, char **password) {
const void *pam_pass;
char *pass = NULL;
- flags = flags; /* unused */
-
if (ctrl & PAM_TAC_DEBUG)
syslog (LOG_DEBUG, "%s: called", __FUNCTION__);