diff options
Diffstat (limited to 'tests/authentication.c')
-rw-r--r-- | tests/authentication.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/authentication.c b/tests/authentication.c index 00abd05..248b646 100644 --- a/tests/authentication.c +++ b/tests/authentication.c @@ -47,7 +47,7 @@ static int auth_kbdint(SSH_SESSION *session){ } int authenticate (SSH_SESSION *session){ - int auth=ssh_userauth_autopubkey(session); + int auth=ssh_userauth_autopubkey(session, NULL); char *password; if(auth==SSH_AUTH_ERROR){ fprintf(stderr,"Authenticating with pubkey: %s\n",ssh_get_error(session)); |