You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
# RELEASE NOTES
2
2
3
+
## 1.0.3 - SSLv3 Support and Enhancements
4
+
5
+
* Added SSLv3 support for security testing with `-3` flag. This allows verification that servers properly reject SSLv3 connections. Includes compatibility updates for OpenSSL 3.x which removed the `SSLv3_client_method()` function.
6
+
* Enhanced SSLv3 patch (`sslv3.patch`) to work with OpenSSL 3.x using `SSL_CTX_set_min_proto_version()` and `SSL_CTX_set_max_proto_version()` APIs.
7
+
* Added automatic SSLv3 support verification in build script when `-3` flag is used.
8
+
* Updated `iCurlHTTP.sh` script to copy all `.xcframework` folders from `archive/latest/xcframework` to support modern Xcode projects.
9
+
* Fixed libcurl-build.sh SSLv3 patching for curl 8.17.0+ to properly handle the new command-line argument processing in tool_getparam.c.
10
+
* Improved documentation with detailed patch file comments.
11
+
3
12
## 1.0.2 - Removal of armv7
4
13
5
14
* Removal of armv7/armv7s architecture support: Apple officially stopped supporting the creation of binaries for armv7/armv7s architectures with the release of Xcode 14 in June 2022. This means that new installations of Xcode will not be able to compile armv7 targets, which will break the build script.
Copy file name to clipboardExpand all lines: curl/libcurl-build.sh
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,15 @@ buildMac()
274
274
if [ $ARCH==${BUILD_MACHINE} ];then
275
275
echo -e "Testing binary for ${BUILD_MACHINE}:"
276
276
/tmp/curl -V
277
+
# if user requested SSLv3, test it
278
+
if [ ${FORCE_SSLV3}=='yes' ];then
279
+
echo -e "Testing SSLv3 support..."
280
+
if /tmp/curl --sslv3 -V 2>&1| grep -q "Ignores instruction to use SSLv3";then
281
+
echo -e "${alert}ERROR: SSLv3 support not enabled in binary${normal}"
282
+
else
283
+
echo -e "${green}SUCCESS: SSLv3 support is enabled${normal}"
284
+
fi
285
+
fi
277
286
fi
278
287
}
279
288
@@ -567,6 +576,19 @@ if [ ${FORCE_SSLV3} == 'yes' ]; then
567
576
# for command line
568
577
sed -i '' -e 's/warnf(global, \"Ignores instruction to use SSLv3\");/config->ssl_version = CURL_SSLVERSION_SSLv3;/g'"${CURL_VERSION}/src/tool_getparam.c"
569
578
sed -i '' -e 's/warnf(global, \"Ignores instruction to use SSLv3\\n\");/config->ssl_version = CURL_SSLVERSION_SSLv3;/g'"${CURL_VERSION}/src/tool_getparam.c"
579
+
# fix sslv3 argument deprecated flag in tool_getparams.c
580
+
sed -i '''/{"sslv3",/ s/ARG_NONE|ARG_DEPR/ARG_NONE/'"${CURL_VERSION}/src/tool_getparam.c"
581
+
# add C_SSLV3 case handler in opt_none() function - use value 99 as marker for SSLv3
582
+
sed -i '''/case C_IPV4:/i\
583
+
case C_SSLV3: /* --sslv3 */\
584
+
config->ssl_version = 99; /* special marker for SSLv3 */\
585
+
break;
586
+
'"${CURL_VERSION}/src/tool_getparam.c"
587
+
# patch config2setopts.c to handle SSLv3 marker value before calling tlsversion()
588
+
sed -i '''/my_setopt_SSLVERSION(curl, CURLOPT_SSLVERSION,/,/);/{
0 commit comments