diff options
author | Russell Belfer <rb@github.com> | 2013-07-09 16:17:41 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-07-09 16:17:41 -0700 |
commit | 290e14798598922fbff7189f64f997bad35c4f84 (patch) | |
tree | f9f8c043bafd953f01885bf1efd51f5165b77e0f /src/util.c | |
parent | a4456929a8890a9ac1441db343c21040665ce253 (diff) | |
download | libgit2-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.c | 3 |
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 ; } |