Skip to content

Commit d84b972

Browse files
committed
Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.
1 parent fe97a5a commit d84b972

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2022, PHP 8.0.21
44

5+
- Curl:
6+
. Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick)
7+
58
- Date:
69
. Fixed bug #74671 (DST timezone abbreviation has incorrect offset). (Derick)
710
. Fixed bug #77243 (Weekdays are calculated incorrectly for negative years).

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,6 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i
22982298
case CURLOPT_RTSP_REQUEST:
22992299
case CURLOPT_RTSP_SERVER_CSEQ:
23002300
case CURLOPT_WILDCARDMATCH:
2301-
case CURLOPT_TLSAUTH_TYPE:
23022301
case CURLOPT_GSSAPI_DELEGATION:
23032302
case CURLOPT_ACCEPTTIMEOUT_MS:
23042303
case CURLOPT_SSL_OPTIONS:
@@ -2417,6 +2416,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i
24172416
case CURLOPT_MAIL_FROM:
24182417
case CURLOPT_RTSP_STREAM_URI:
24192418
case CURLOPT_RTSP_TRANSPORT:
2419+
case CURLOPT_TLSAUTH_TYPE:
24202420
case CURLOPT_TLSAUTH_PASSWORD:
24212421
case CURLOPT_TLSAUTH_USERNAME:
24222422
case CURLOPT_ACCEPT_ENCODING:

0 commit comments

Comments
 (0)