summaryrefslogtreecommitdiff
path: root/svr-authpam.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-authpam.c')
-rw-r--r--svr-authpam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/svr-authpam.c b/svr-authpam.c
index 5449463..b7d718d 100644
--- a/svr-authpam.c
+++ b/svr-authpam.c
@@ -162,15 +162,15 @@ send_msg_userauth_info_request(unsigned int num_msg, const struct pam_message **
}
/* PAM conversation function - for now we only handle one message */
-int
-pamConvFunc(int num_msg,
+static int
+dropbear_pam_conv_func(int num_msg,
const struct pam_message **msgs,
struct pam_response **respp,
void *UNUSED(appdata_ptr)) {
int ret = PAM_SYSTEM_ERR;
- TRACE(("enter pamConvFunc"))
+ TRACE(("enter dropbear_pam_conv_func"))
if (ses.recursion_count != 1) {
dropbear_exit("PAM failure");
@@ -205,7 +205,7 @@ pamConvFunc(int num_msg,
void svr_auth_pam() {
int rc;
struct pam_conv pamConv = {
- pamConvFunc,
+ dropbear_pam_conv_func,
NULL
};