Skip to content

Commit

Permalink
Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.
Browse files Browse the repository at this point in the history
  • Loading branch information
adoy committed Jun 17, 2022
1 parent fe97a5a commit d84b972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion ext/curl/interface.c
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d84b972

Please sign in to comment.