libgit2/libgit2 — pull request #1706 by tiennou (2013-07-03 20:11:49+00:00)
Title: SSH credential crash

See #1700.

I was wondering about the direct `return -1` while the rest uses `goto on_error` so I changed it.