diff options
Diffstat (limited to 'tests/mock_pam.c')
-rw-r--r-- | tests/mock_pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mock_pam.c b/tests/mock_pam.c index 64c503f..a07c9af 100644 --- a/tests/mock_pam.c +++ b/tests/mock_pam.c @@ -39,8 +39,8 @@ int fake_conv (int num_msg, const struct pam_message **msg, response->resp = strdup ("protocol://rhost/dummy"); else if (strcmp((*msg)->msg, "password:") == 0) response->resp = strdup ("password"); - else if (strcmp((*msg)->msg, "sessiontype:") == 0) - response->resp = strdup ("sessiontype"); + else if (strcmp((*msg)->msg, "remote command:") == 0) + response->resp = strdup ("rcommand"); else return PAM_SYMBOL_ERR; /* leaks... */ |