summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-07-03 20:19:16 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-07-03 20:19:16 +0200
commit268dafa260f6c3135484d306b1ce4f2b63320a1f (patch)
tree1380c2799fdf34b514a65d016c4b76124586aa9b /include/git2
parentb0ed61f8227cb6fb937f68c9a6750851f3d0632f (diff)
downloadlibgit2-268dafa260f6c3135484d306b1ce4f2b63320a1f.tar.gz
Fix git_cred_ssh_interactive_callback signature
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h
index 944072632..1df264ea1 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -69,7 +69,7 @@ typedef struct _LIBSSH2_USERAUTH_KBDINT_RESPONSE LIBSSH2_USERAUTH_KBDINT_RESPONS
#endif
typedef int (*git_cred_sign_callback)(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, const unsigned char *data, size_t data_len, void **abstract);
-typedef int (*git_cred_ssh_interactive_callback)(const char* name, int name_len, const char* instruction, int instruction_len, int num_prompts, const LIBSSH2_USERAUTH_KBDINT_PROMPT* prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void **abstract);
+typedef void (*git_cred_ssh_interactive_callback)(const char* name, int name_len, const char* instruction, int instruction_len, int num_prompts, const LIBSSH2_USERAUTH_KBDINT_PROMPT* prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void **abstract);
/**
* A ssh key from disk