summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-19 09:55:20 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-04-23 17:39:51 +0200
commit24e53d2fba1ea10c27c3b19f202dc92cabedf0ed (patch)
tree1b57e5a07b017724a6cf8ac06e17e957099bf419 /src/settings.c
parent70b852cee2c9e87588d65581e13c9e65b255cecf (diff)
downloadlibgit2-24e53d2fba1ea10c27c3b19f202dc92cabedf0ed.tar.gz
Rename GIT_SSL to GIT_OPENSSL
This is what it's meant all along, but now we actually have multiple implementations, it's clearer to use the name of the library.
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.c b/src/settings.c
index 77a5f2ed1..2097ca314 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -5,7 +5,7 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
-#ifdef GIT_SSL
+#ifdef GIT_OPENSSL
# include <openssl/err.h>
#endif
@@ -28,7 +28,7 @@ int git_libgit2_features()
#ifdef GIT_THREADS
| GIT_FEATURE_THREADS
#endif
-#if defined(GIT_SSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)
+#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)
| GIT_FEATURE_HTTPS
#endif
#if defined(GIT_SSH)
@@ -138,7 +138,7 @@ int git_libgit2_opts(int key, ...)
break;
case GIT_OPT_SET_SSL_CERT_LOCATIONS:
-#ifdef GIT_SSL
+#ifdef GIT_OPENSSL
{
const char *file = va_arg(ap, const char *);
const char *path = va_arg(ap, const char *);