Skip to content

Rustls compilation should include CoreFoundation and Security frameworks on Mac #6955

@kevinburke

Description

@kevinburke

Without these frameworks compiled in, the --with-rustls flag on Macs fails with a bunch of errors related to missing symbols that are present in the CoreFoundation or Security frameworks.

People may not notice this because compilation does not error if you include the --with-secure-transport flag - that one appends the correct CoreFoundation framework flags to LDFLAGS. Unfortunately including that flag means that curl chooses SecureTransport for TLS and not rustls, so as is, it's essentially impossible to use rustls for TLS on Mac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions