settings.c
4.8 KB
-
settings: don't hard-code HTTPS capability · 061a0ad1
This partially reverts bdec62dc which activates the transport code-paths which allow you to use a custom TLS implementation without having to have one at build-time. However the capabilities describe how libgit2 was built, not what it could potentially support, bring back the ifdefs so we only say we support HTTPS if libgit2 was itself built with a TLS implementation.
Carlos Martín Nieto committed