summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pam_radius_auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c
index a27f90b..0db57d5 100644
--- a/src/pam_radius_auth.c
+++ b/src/pam_radius_auth.c
@@ -1120,6 +1120,8 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST c
retval = rad_converse(pamh, PAM_PROMPT_ECHO_OFF, config.prompt, &password);
PAM_FAIL_CHECK;
+ } else {
+ password = strdup("");
}
} /* end of password == NULL */