summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-09 16:17:41 -0700
committerRussell Belfer <rb@github.com>2013-07-09 16:17:41 -0700
commit290e14798598922fbff7189f64f997bad35c4f84 (patch)
treef9f8c043bafd953f01885bf1efd51f5165b77e0f /src/util.c
parenta4456929a8890a9ac1441db343c21040665ce253 (diff)
downloadlibgit2-290e14798598922fbff7189f64f997bad35c4f84.tar.gz
Add GIT_CAP_SSH if library was built with SSH
This also adds a test that actually calls git_libgit2_capabilities and git_libgit2_version.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index c543a3d21..ad7603829 100644
--- a/src/util.c
+++ b/src/util.c
@@ -33,6 +33,9 @@ int git_libgit2_capabilities()
#if defined(GIT_SSL) || defined(GIT_WINHTTP)
| GIT_CAP_HTTPS
#endif
+#if defined(GIT_SSH)
+ | GIT_CAP_SSH
+#endif
;
}