From 530182d15e1e464f9af906f68a801bdb6d94103a Mon Sep 17 00:00:00 2001 From: zodiac Date: Tue, 17 Feb 2009 00:59:34 +0000 Subject: [PATCH] Only defined binary conversation support, if actually available. git-svn-id: https://shellinabox.googlecode.com/svn/trunk@64 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- shellinabox/launcher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shellinabox/launcher.c b/shellinabox/launcher.c index 4875828..eca29e5 100644 --- a/shellinabox/launcher.c +++ b/shellinabox/launcher.c @@ -179,11 +179,13 @@ static int read_string(int echo, const char *prompt, char **retstr) { return nc; } +#if defined(HAVE_SECURITY_PAM_CLIENT_H) static pamc_bp_t *p(pamc_bp_t *p) { // GCC is too smart for its own good, and triggers a warning in // PAM_BP_RENEW, unless we pass the first argument through a function. return p; } +#endif static int my_misc_conv(int num_msg, const struct pam_message **msgm, struct pam_response **response, void *appdata_ptr) {