mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
16 lines
533 B
Diff
16 lines
533 B
Diff
Update the condition around the HTTPS feature to match when it's enabled.
|
|
diff --git a/tests/core/features.c b/tests/core/features.c
|
|
index cf5e190..6d4273a 100644
|
|
--- a/tests/core/features.c
|
|
+++ b/tests/core/features.c
|
|
@@ -17,7 +17,9 @@ void test_core_features__0(void)
|
|
cl_assert((caps & GIT_FEATURE_THREADS) == 0);
|
|
#endif
|
|
|
|
+#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)
|
|
cl_assert((caps & GIT_FEATURE_HTTPS) != 0);
|
|
+#endif
|
|
|
|
#if defined(GIT_SSH)
|
|
cl_assert((caps & GIT_FEATURE_SSH) != 0);
|