Skip to content

Commit

Permalink
Fix sslv3 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Jul 20, 2023
1 parent 667b3b6 commit abe42df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curl/libcurl-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ if [ ${FORCE_SSLV3} == 'yes' ]; then
echo -e "${dim}SSLv3 Requested: This requires a patch for 7.77.0 and above - mileage may vary."
# for library
sed -i '' '/version == CURL_SSLVERSION_SSLv3/d' "${CURL_VERSION}/lib/setopt.c"
patch -N "${CURL_VERSION}/lib/vtls/openssl.c" sslv3.patch || true
patch --ignore-whitespace -N "${CURL_VERSION}/lib/vtls/openssl.c" sslv3.patch || true
# for command line
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"
fi
Expand Down

0 comments on commit abe42df

Please sign in to comment.