Skip to content

Makefile.mk: fix wolfssl and mbedtls default paths [ci skip]#10164

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:mk-fix-defaults
Closed

Makefile.mk: fix wolfssl and mbedtls default paths [ci skip]#10164
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:mk-fix-defaults

Conversation

@vszakats
Copy link
Copy Markdown
Member

@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`

  Caveats:
  - `-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

Labels

Development

Successfully merging this pull request may close these issues.

1 participant