cURL / Mailing Lists / curl-library / Single Mail


Re: Report on SSL cipher being used

From: Daniel Stenberg <>
Date: Mon, 7 Jan 2013 15:12:26 +0100 (CET)

On Sun, 6 Jan 2013, Peter Sylvester wrote:

>> 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?
> Is this the get_info style idea? This may sufficient for information but not
> if you want to modify things. wouldn't it be necessary in this case to call
> this before and after handshake messages from a call back.

Right, but in this particular case it is about getting information from the
handshake, not changing anything as I've understood it.

> One interesting callback could be to provide the certificate chain.

You mean like curl_easy_getinfo's CURLINFO_CERTINFO ? (An example of an
abstracted API that only works with the OpenSSL backend...)

List admin:
Received on 2013-01-07