summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index a256166..a81391f 100644
--- a/src/module.c
+++ b/src/module.c
@@ -376,7 +376,11 @@ initpycurl(void)
case CURLSSLBACKEND_NSS:
case CURLSSLBACKEND_WOLFSSL:
case CURLSSLBACKEND_MBEDTLS:
+#if LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 64, 1)
case CURLSSLBACKEND_SECURETRANSPORT:
+#else
+ case CURLSSLBACKEND_DARWINSSL:
+#endif
runtime_supported_backend_found = 1;
break;
default: