Skip to content

Commit e12a49b

Browse files
committed
7.77.0
1 parent 5acc138 commit e12a49b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ext/curl/interface.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,12 +1206,18 @@ PHP_MINIT_FUNCTION(curl)
12061206
REGISTER_CURL_CONSTANT(CURLAUTH_AWS_SIGV4);
12071207
REGISTER_CURL_CONSTANT(CURLOPT_AWS_SIGV4);
12081208
#endif
1209+
12091210
#if LIBCURL_VERSION_NUM >= 0x074c00 /* Available since 7.76.0 */
12101211
REGISTER_CURL_CONSTANT(CURLOPT_DOH_SSL_VERIFYHOST);
12111212
REGISTER_CURL_CONSTANT(CURLOPT_DOH_SSL_VERIFYPEER);
12121213
REGISTER_CURL_CONSTANT(CURLOPT_DOH_SSL_VERIFYSTATUS);
12131214
#endif
12141215

1216+
#if LIBCURL_VERSION_NUM >= 0x074d00 /* Available since 7.77.0 */
1217+
REGISTER_CURL_CONSTANT(CURLOPT_CAINFO_BLOB);
1218+
REGISTER_CURL_CONSTANT(CURLOPT_PROXY_CAINFO_BLOB);
1219+
#endif
1220+
12151221
REGISTER_CURL_CONSTANT(CURLOPT_SAFE_UPLOAD);
12161222

12171223
#ifdef PHP_CURL_NEED_OPENSSL_TSL
@@ -3149,6 +3155,10 @@ static zend_result _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue
31493155
case CURLOPT_PROXY_SSLKEY_BLOB:
31503156
case CURLOPT_SSLCERT_BLOB:
31513157
case CURLOPT_SSLKEY_BLOB:
3158+
#if LIBCURL_VERSION_NUM >= 0x074d00 /* Available since 7.77.0 */
3159+
case CURLOPT_CAINFO_BLOB:
3160+
case CURLOPT_PROXY_CAINFO_BLOB:
3161+
#endif
31523162
{
31533163
zend_string *tmp_str;
31543164
zend_string *str = zval_get_tmp_string(zvalue, &tmp_str);

0 commit comments

Comments
 (0)