mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 21:59:33 +00:00
Moved libssh2 sign callback into typedef
This commit is contained in:
parent
ce6d50b994
commit
b4d81a00bf
@ -52,6 +52,8 @@ typedef struct git_cred_userpass_plaintext {
|
|||||||
} git_cred_userpass_plaintext;
|
} git_cred_userpass_plaintext;
|
||||||
|
|
||||||
#ifdef GIT_SSH
|
#ifdef GIT_SSH
|
||||||
|
typedef LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC((*git_cred_sign_callback));
|
||||||
|
|
||||||
/* A ssh key file and passphrase */
|
/* A ssh key file and passphrase */
|
||||||
typedef struct git_cred_ssh_keyfile_passphrase {
|
typedef struct git_cred_ssh_keyfile_passphrase {
|
||||||
git_cred parent;
|
git_cred parent;
|
||||||
@ -116,7 +118,7 @@ GIT_EXTERN(int) git_cred_ssh_publickey_new(
|
|||||||
git_cred **out,
|
git_cred **out,
|
||||||
const char *publickey,
|
const char *publickey,
|
||||||
size_t publickey_len,
|
size_t publickey_len,
|
||||||
LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC((*sign_callback)),
|
git_cred_sign_callback,
|
||||||
void *sign_data);
|
void *sign_data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user