cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Discovering libcurl's use of libssl, libnss and friends

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Mar 2012 09:21:56 +0100 (CET)

On Thu, 15 Mar 2012, Oscar Koeroo wrote:

> I assumed that I could discover with which SSL implementation libcurl is
> dynamically linked with the use of curl_easy_getinfo(). But according to the
> documentation there doesn't seem to be an option for this.
>
> My current motivation is to overcome the syntactical and semantical
> differences of expected input to the
> curl_easy_setopt(CURLOPT_SSL_CIPHER_LIST, ...) expected by OpenSSL/GnuTLS
> and libnss.

Hm right, there's not a really solid way to figure out which library it is
without relying on some textual or human pattern matching.

curl_version_info() returns information you can use to figure it out, but I
admit this can be improved!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-15