mirror of
https://github.com/curl/curl.git
synced 2026-04-16 13:35:18 +08:00
This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURL_SSLVERSION_DEFAULT - CURL_SSLVERSION_SSLv2 - CURL_SSLVERSION_SSLv3 - CURL_SSLVERSION_TLSv1 - CURL_SSLVERSION_TLSv1_0 - CURL_SSLVERSION_TLSv1_1 - CURL_SSLVERSION_TLSv1_2 - CURL_SSLVERSION_TLSv1_3 - CURL_SSLVERSION_MAX_DEFAULT - CURL_SSLVERSION_MAX_NONE - CURL_SSLVERSION_MAX_TLSv1_0 - CURL_SSLVERSION_MAX_TLSv1_1 - CURL_SSLVERSION_MAX_TLSv1_2 - CURL_SSLVERSION_MAX_TLSv1_3 Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18135 |
||
|---|---|---|
| .. | ||
| curl.h | ||
| curlver.h | ||
| easy.h | ||
| header.h | ||
| Makefile.am | ||
| mprintf.h | ||
| multi.h | ||
| options.h | ||
| stdcheaders.h | ||
| system.h | ||
| typecheck-gcc.h | ||
| urlapi.h | ||
| websockets.h | ||