Skip to content

Commit

Permalink
Fix typo in libgit2 credentials callback (#17975)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d5a427)
  • Loading branch information
Keno authored and tkelman committed Aug 12, 2016
1 parent 799af80 commit a228a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/libgit2/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ function authenticate_ssh(creds::SSHCredentials, libgit2credptr::Ptr{Ptr{Void}},
end
passdef
end
(creds.user != username) || (creds.pass != userpass) ||
(creds.prvkey != privatekey) || (creds.pubkey != publickey) && reset!(creds)
((creds.user != username) || (creds.pass != passphrase) ||
(creds.prvkey != privatekey) || (creds.pubkey != publickey)) && reset!(creds)

creds.user = username # save credentials
creds.prvkey = privatekey # save credentials
Expand Down

0 comments on commit a228a7a

Please sign in to comment.