Add abstract pointer to keyboard-interactive callback

This commit is contained in:
Sara Golemon
2005-06-16 17:14:31 +00:00
parent da653774aa
commit 2a6c49a73a
2 changed files with 2 additions and 2 deletions

View File

@@ -785,7 +785,7 @@ LIBSSH2_API int libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION *sessio
prompts[i].echo = *s++;
}
response_callback(auth_name, auth_name_len, auth_instruction, auth_instruction_len, num_prompts, prompts, responses);
response_callback(auth_name, auth_name_len, auth_instruction, auth_instruction_len, num_prompts, prompts, responses, &session->abstract);
packet_len = 1 /* byte SSH_MSG_USERAUTH_INFO_RESPONSE */
+ 4 /* int num-responses */