diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2013-10-21 11:03:31 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2013-10-21 14:02:36 -0500 |
commit | 2648dc1a06f5431552ae272432207d456232c1e5 (patch) | |
tree | b023c35c23c22ad2004a58bc9b2d2f3549224176 /src/transports/ssh.c | |
parent | 901c34f233cf49c75a1fa9a4a7e97cfe5b87269e (diff) | |
download | libgit2-2648dc1a06f5431552ae272432207d456232c1e5.tar.gz |
Allowed credential types should be a bitfield
Diffstat (limited to 'src/transports/ssh.c')
-rw-r--r-- | src/transports/ssh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transports/ssh.c b/src/transports/ssh.c index 62f3f0bbf..647211f63 100644 --- a/src/transports/ssh.c +++ b/src/transports/ssh.c @@ -349,7 +349,8 @@ static int _git_ssh_setup_conn( if (t->owner->cred_acquire_cb( &t->cred, t->owner->url, user, GIT_CREDTYPE_USERPASS_PLAINTEXT | - GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE, + GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE | + GIT_CREDTYPE_SSH_PUBLICKEY, t->owner->cred_acquire_payload) < 0) goto on_error; |