X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=56373d7d68e3d2d67637e8fc247e32824597d53f;hp=2e3118114f9e282944613788493e41012d634346;hb=4ef2f9e39c8d7c9dc605fb062a50d8a73b52c02a;hpb=d2d92ed054055987568b9c1b205b558ab8937ed4 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