diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-07-23 21:28:14 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-07-27 10:42:38 +0200 |
commit | 0c6112a139c1133f7bdfc440903c0e5602c84d90 (patch) | |
tree | 3e7229f7e175db8c3a2bfea45cad93c38ed9e1b3 /src/tool_operate.c | |
parent | 8829703b5a8d595457f3f4954cf09e6d6bae1523 (diff) | |
download | curl-0c6112a139c1133f7bdfc440903c0e5602c84d90.tar.gz |
WIN32: stop forcing narrow-character API
Except where the results are only used for character output.
getenv is not touched because it's part of the public API, and having
it return UTF-8 instead of ANSI would be a breaking change.
Fixes https://github.com/curl/curl/issues/5658
Fixes https://github.com/curl/curl/issues/5712
Closes https://github.com/curl/curl/pull/5718
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 29daff02a..ad4e85dd8 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -2415,7 +2415,7 @@ static CURLcode transfer_per_config(struct GlobalConfig *global, #ifdef WIN32 else { result = FindWin32CACert(config, tls_backend_info->backend, - "curl-ca-bundle.crt"); + TEXT("curl-ca-bundle.crt")); } #endif } |