summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 8bb13e3..9765124 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -537,7 +537,7 @@ error:
* @see ssh_userauth_offer_pubkey()
*/
int ssh_userauth_agent_pubkey(SSH_SESSION *session, const char *username,
- PUBLIC_KEY *publickey) {
+ ssh_public_key publickey) {
ssh_string user = NULL;
ssh_string service = NULL;
ssh_string method = NULL;