From d84b972658fe623b465ce0f3b6632de1e1875534 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Fri, 17 Jun 2022 19:51:58 -0400 Subject: [PATCH] Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. --- NEWS | 3 +++ ext/curl/interface.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index bc5d9fa38c308..edfa4f701756d 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2022, PHP 8.0.21 +- Curl: + . Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick) + - Date: . Fixed bug #74671 (DST timezone abbreviation has incorrect offset). (Derick) . Fixed bug #77243 (Weekdays are calculated incorrectly for negative years). diff --git a/ext/curl/interface.c b/ext/curl/interface.c index ca49334207390..134de48d6fe22 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -2298,7 +2298,6 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i case CURLOPT_RTSP_REQUEST: case CURLOPT_RTSP_SERVER_CSEQ: case CURLOPT_WILDCARDMATCH: - case CURLOPT_TLSAUTH_TYPE: case CURLOPT_GSSAPI_DELEGATION: case CURLOPT_ACCEPTTIMEOUT_MS: case CURLOPT_SSL_OPTIONS: @@ -2417,6 +2416,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i case CURLOPT_MAIL_FROM: case CURLOPT_RTSP_STREAM_URI: case CURLOPT_RTSP_TRANSPORT: + case CURLOPT_TLSAUTH_TYPE: case CURLOPT_TLSAUTH_PASSWORD: case CURLOPT_TLSAUTH_USERNAME: case CURLOPT_ACCEPT_ENCODING: