X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=56373d7d68e3d2d67637e8fc247e32824597d53f;hp=2e3118114f9e282944613788493e41012d634346;hb=8b5eb376ae8f5e53cfb66752327043be2669498a;hpb=dd579c42c06ebfe26ea2ff8ee6106a22d27e3340 diff --git a/http_request_api.c b/http_request_api.c index 2e31181..56373d7 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -970,6 +970,15 @@ static inline void _http_curl_defaults(CURL *ch) #endif /* HTTP_HAVE_CURL */ +zend_bool _http_request_supports_ssl(void) +{ +#ifdef HTTP_NEED_SSL + return (zend_bool) 1; +#else + return (zend_bool) 0; +#endif +} + /* * Local variables: * tab-width: 4