Skip to content

Commit abe42df

Browse files
committed
Fix sslv3 patch
1 parent 667b3b6 commit abe42df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curl/libcurl-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ if [ ${FORCE_SSLV3} == 'yes' ]; then
533533
echo -e "${dim}SSLv3 Requested: This requires a patch for 7.77.0 and above - mileage may vary."
534534
# for library
535535
sed -i '' '/version == CURL_SSLVERSION_SSLv3/d' "${CURL_VERSION}/lib/setopt.c"
536-
patch -N "${CURL_VERSION}/lib/vtls/openssl.c" sslv3.patch || true
536+
patch --ignore-whitespace -N "${CURL_VERSION}/lib/vtls/openssl.c" sslv3.patch || true
537537
# for command line
538538
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"
539539
fi

0 commit comments

Comments
 (0)