aboutsummaryrefslogtreecommitdiff
path: root/tests/authentication.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-05-04 22:30:21 +0000
committerAndreas Schneider <mail@cynapses.org>2009-05-04 22:30:21 +0000
commitdc07d46ccaec73e65c7385c4f3a29da05d281ddd (patch)
tree4d392bc68fbbf0606a1b3635fd26ad6cb029bf99 /tests/authentication.c
parent6c51183f0ebd48832b22e3e1ad587d2499dc65e9 (diff)
downloadlibssh-dc07d46ccaec73e65c7385c4f3a29da05d281ddd.tar.gz
libssh-dc07d46ccaec73e65c7385c4f3a29da05d281ddd.tar.xz
libssh-dc07d46ccaec73e65c7385c4f3a29da05d281ddd.zip
Add a exec test.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@713 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'tests/authentication.c')
-rw-r--r--tests/authentication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/authentication.c b/tests/authentication.c
index 00abd052..248b646f 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));