Skip to content

CURL_SSL_BACKEND value for SecureTransport has changed? #16076

@jeroen

Description

@jeroen

I did this

The default libcurl 8.7.1 configuration on MacOS has two ssl backends. The ssl_version string says

(SecureTransport) LibreSSL/3.3.6

Hence the default is LibreSSL. For a long time I have had the following environment variable on my system:

CURL_SSL_BACKEND=SecureTransport

So thereby libcurl would switch to SecureTransport. However I noticed this stopped working for my latest curl build 8.11.1. After reading the Environment variables libcurl understands docs, I found out that the value now requires a hyphen?

CURL_SSL_BACKEND=Secure-Transport

Is this change intended? It caught me by surprise because the ssl version in curl --version does not use the hyphen so it is quite confusing that this does not mach the value that we need to set in CURL_SSL_BACKEND.

I expected the following

No response

curl/libcurl version

curl 8.11.1

operating system

MacOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions