curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: --curves parameter ?

From: Michael Baentsch via curl-users <>
Date: Thu, 23 Apr 2020 19:17:21 +0200

Hi Daniel,

   Thanks for the quick answer(s). The google-search also didn't turn out another response than "not yet implemented".

As I only started to look into the curl source code today (though being a longtime happy curl user), I'm certain I didn't understand all internal structures and concepts already to do a regular PR -- however, I put together a patch that someone truly knowledgeable may want to take a look at (attached):

Applied to 7.69.1. it does what I've been asking for, though and I'd apply it as such to our "downstream project" (OpenQuantumSafe) where we're adding quantum-safe cryptographic capabilities to curl (

So, I'd be glad if you'd find the time to take a look and let me know whether something like this could be added to curl so that we wouldn't need to apply it manually whenever we build our project (and need to redo when the curl code moves on...):

Thanks in advance,


´╗┐On 23.04.20, 14:13, "curl-users on behalf of Daniel Stenberg via curl-users" < on behalf of> wrote:

    On Thu, 23 Apr 2020, Michael Baentsch via curl-users wrote:

> is there a way to set the (EC) curves parameter (list) advertised in curl
> (TLS) in the same way that openssl s_client/server permit it via the -curves
> parameter, i.e., invoking SSL_CTX_set1_curves_list?

    No, there isn't! Room for improvement I guess.

> Checking the source code (7.69.1) and the (incl. past) issues in github I
> could not find a way (or past discussion on this feature).

    I can't recall any such either.

> Any hints how to use the Mail-Archives Search function properly would be
> most welcome ( )

    Uh, that search thing at the bottom of the screen seems to have broken
    completely! I'll see what I can do to get it back, but I can't tell you
    exactly when its going to happen.

    The general trick is otherwise to add "site: " to your
    google search field to only get results from the curl mailing list archives.


      / | Commercial curl support up to 24x7 is available!
                       | Private help, bug fixes, support, ports, new features
                       | -----------------------------------------------------------


Received on 2020-04-23