Coder Social home page Coder Social logo

Comments (7)

vszakats avatar vszakats commented on June 16, 2024 1

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.

Fierelier avatar Fierelier commented on June 16, 2024 1

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.

vszakats avatar vszakats commented on June 16, 2024 1

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.

jay avatar jay commented on June 16, 2024

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.

vszakats avatar vszakats commented on June 16, 2024

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.

Fierelier avatar Fierelier commented on June 16, 2024

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.

Fierelier avatar Fierelier commented on June 16, 2024

Actually, I'm burnt-out as-is with installing W10, I reckon it oughta run on W11.

from curl-for-win.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.