Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account fix wolfssl and mbedtls default paths [ci skip] #10164

wants to merge 1 commit into from


Copy link

@vszakats vszakats commented Dec 27, 2022

Fix the defaults for WOLFSSL_PATH and MBEDTLS_PATH to have meaningful values instead of the copy-pasted wrong ones.

Ref: 66e68ca#r94275172

Reported-by: Ryan Schmidt
Closes #10164

We fix the defaults for `WOLFSSL_PATH` and `MBEDTLS_PATH` to have
meaningful values instead of the copy-pasted wrong ones.

Ref: curl@66e68ca#r94275172

Reported by: Ryan Schmidt
Closes #xxxxx
@vszakats vszakats added the build label Dec 27, 2022
vszakats referenced this pull request Dec 27, 2022
- Add support for these options:
  `-wolfssl`, `-wolfssh`, `-mbedtls`, `-libssh`, `-psl`

  - `-wolfssh` requires `-wolfssl`.
  - `-wolfssl` cannot be used with OpenSSL backends in parallel.
  - `-libssh` has build issues with BoringSSL and LibreSSL, and also
     what looks like a world-writable-config vulnerability on Windows.
     Consider it experimental.
  - `-psl` requires `-idn2` and extra libs passed via
    `LIBS=-liconv -lunistring`.

- Detect BoringSSL/wolfSSL and set ngtcp2 crypto lib accordingly.
- Generalize MultiSSL detection.
- Use else-if syntax. Requires GNU Make 3.81 (2006-04-01).
- Document more customization options.

This brings over some configuration logic from `curl-for-win`.

Closes #9680
@vszakats vszakats closed this in 692c737 Dec 27, 2022
@vszakats vszakats deleted the mk-fix-defaults branch December 27, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging this pull request may close these issues.

None yet

1 participant