Comments (7)
The missing reference comes from OpenSSL 3.x, so the live build environment [Linux mingw-w64/clang cross-toolchain] isn't relevant here: https://github.com/openssl/openssl/blob/b3242ca622ef3da34ebb7b78b1f82cd5f0b516e7/crypto/threads_win.c#L76
It's referenced if _WIN32_WINNT >= 0x600
(= Vista or above).
curl-for-win does not override _WIN32_WINNT
, and the toolchain / respective package defaults are used. Apparently these are not Windows XP compatible anymore.
One possible solution is to override the default with -D_WIN32_WINNT=0x0501
for x86 builds, another one is to build curl-for-win with Schannel support only. It may also be fixed/mitigated in OpenSSL.
from curl-for-win.
I did curl https://curl.se
, with success, on the following systems:
- Windows XP Professional Service Pack 3 (5.1.2600) - 32-bit
- Windows 7 Ultimate Service Pack 1 (6.1.7601) - 64-bit
I can test on Windows 10 in a couple of hours, if no one else has done it till then.
from curl-for-win.
Thank you @Fierelier, I think this is fine for now. I'm more worried of future fallouts due to stepping off the default build path; so pushing this patch on an experimental note.
from curl-for-win.
Windows XP Professional Service Pack 3 (5.1.2600)
curl for windows official build is built using MSYS2 which requires the minimum OS to be Vista I think.
/cc @vszakats
from curl-for-win.
Can someone confirm if this test build works on various x86 Windows systems (XP included)?:
https://ci.appveyor.com/project/curlorg/curl-for-win/builds/43171473/artifacts
It includes this patch:
3188563
from curl-for-win.
I did the same test on Windows 10 Home 21H2 (19044.1288) 64-bit with success. I'll do the same with W11 as well.
from curl-for-win.
Actually, I'm burnt-out as-is with installing W10, I reckon it oughta run on W11.
from curl-for-win.
Related Issues (20)
- WinGet HOT 2
- Add a way to download the latest version at all time HOT 7
- Where to download 'openssl-1.x.x-win64-mingw.zip' HOT 3
- Missing files HOT 1
- zstd support HOT 4
- Curl 7.85/32-bit not a valid Windows application HOT 1
- libcurl static linking instructions and/or pkg-config file HOT 31
- Text files are not viewable in notepad HOT 1
- Openssl 1.1.1s or q HOT 3
- enable Control Flow Guard HOT 19
- Url for specific version is down HOT 5
- What is the Unicode "feature"? HOT 1
- Non-latin symbols processing HOT 4
- LTO support HOT 7
- untangle dependencies from configuration HOT 2
- Build official curl binaries with PSL HOT 42
- Cannot build libpsl on Windows HOT 17
- effects of going nroffless HOT 2
- Installation instructions? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl-for-win.