Merge pull request #1727 from RisingWater/devel
Update verify_user_pam.c
This commit is contained in:
commit
87d710e89b
@ -77,6 +77,9 @@ verify_pam_conv(int num_msg, const struct pam_message **msg,
|
|||||||
reply[i].resp = g_strdup(user_pass->pass);
|
reply[i].resp = g_strdup(user_pass->pass);
|
||||||
reply[i].resp_retcode = PAM_SUCCESS;
|
reply[i].resp_retcode = PAM_SUCCESS;
|
||||||
break;
|
break;
|
||||||
|
case PAM_TEXT_INFO:
|
||||||
|
g_memset(&reply[i], 0, sizeof(struct pam_response));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
g_printf("unknown in verify_pam_conv\r\n");
|
g_printf("unknown in verify_pam_conv\r\n");
|
||||||
g_free(reply);
|
g_free(reply);
|
||||||
|
Loading…
Reference in New Issue
Block a user