cURL / Mailing Lists / curl-library / Single Mail


Re: Report on SSL cipher being used

From: Daniel Stenberg <>
Date: Sat, 5 Jan 2013 23:58:47 +0100 (CET)

On Sat, 5 Jan 2013, Philip Montrowe wrote:

> I was thinking more along the lines of adding an exit similar to

I really prefer not to. Strongly.

libcurl is 99% SSL library agnostic in its API and use. We try very hard to
provide a single and stable API and ABI to applications so that they won't
have to care about things like which SSL library libcurl uses.

CURLOPT_SSL_CTX_FUNCTION is an exception to that rule. It is unfortunate and
it hurts users - but as we can't and won't remove it, we can certainly strive
to not repeat that mistake and dig our hole even deeper.

Our task is to REDUCE the SSL-specific stuff from our API, not the other way

So, back to the subject at hand: I suggested a way that could offer a
consistent API independently of the SSL backend. Is there a particular reason
that wouldn't work?

List admin:
Received on 2013-01-05