X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;h=96b0bb0ed45ecb66e74110290684e02403497acf;hp=fed92fc078f2c4a95649c53901f5393c8c05483a;hb=6edb136d725e73b48fdf994883e3d77372f07648;hpb=ba6df80d17e8defb57d2a7b337304dd49d4099a6 diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index fed92fc..96b0bb0 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -1469,7 +1469,7 @@ static void php_http_curle_options_init(php_http_options_t *registry TSRMLS_DC) ZVAL_BOOL(&opt->defval, 1); opt->setter = php_http_curle_option_set_ssl_verifyhost; } -#if PHP_HTTP_CURL_VERSION(7,41,0) +#if PHP_HTTP_CURL_VERSION(7,41,0) && (defined(PHP_HTTP_HAVE_OPENSSL) || defined(PHP_HTTP_HAVE_NSS) || defined(PHP_HTTP_HAVE_GNUTLS)) php_http_option_register(registry, ZEND_STRL("verifystatus"), CURLOPT_SSL_VERIFYSTATUS, IS_BOOL); #endif php_http_option_register(registry, ZEND_STRL("cipher_list"), CURLOPT_SSL_CIPHER_LIST, IS_STRING);