Updated patch for new cURL version.

This commit is contained in:
LoRd_MuldeR 2023-04-04 20:15:38 +02:00
parent b3136acdcb
commit 0793ad2791

View File

@ -2,7 +2,7 @@
1 file changed, 34 insertions(+), 15 deletions(-) 1 file changed, 34 insertions(+), 15 deletions(-)
diff --git a/src/tool_doswin.c b/src/tool_doswin.c diff --git a/src/tool_doswin.c b/src/tool_doswin.c
index d8695e9..27dc9b6 100644 index e9347d2..558d15d 100644
--- a/src/tool_doswin.c --- a/src/tool_doswin.c
+++ b/src/tool_doswin.c +++ b/src/tool_doswin.c
@@ -614,6 +614,37 @@ char **__crt0_glob_function(char *arg) @@ -614,6 +614,37 @@ char **__crt0_glob_function(char *arg)
@ -43,9 +43,9 @@ index d8695e9..27dc9b6 100644
CURLcode FindWin32CACert(struct OperationConfig *config, CURLcode FindWin32CACert(struct OperationConfig *config,
curl_sslbackend backend, curl_sslbackend backend,
const TCHAR *bundle_file) const TCHAR *bundle_file)
@@ -629,21 +660,9 @@ CURLcode FindWin32CACert(struct OperationConfig *config, @@ -628,21 +659,9 @@ CURLcode FindWin32CACert(struct OperationConfig *config,
if((curlinfo->features & CURL_VERSION_SSL) && */
backend != CURLSSLBACKEND_SCHANNEL) { if(feature_ssl && backend != CURLSSLBACKEND_SCHANNEL) {
- DWORD res_len; - DWORD res_len;
- TCHAR buf[PATH_MAX]; - TCHAR buf[PATH_MAX];
@ -67,4 +67,4 @@ index d8695e9..27dc9b6 100644
+ config->cacert = cacert; + config->cacert = cacert;
} }
} }