cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: getting SSL certificates informations

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Nov 2009 11:08:46 +0100 (CET)

On Thu, 26 Nov 2009, Marco Maggi wrote:

> COK(curl_easy_getinfo(handle, CURLINFO_CERTINFO, &num_certs));
> fprintf(stderr, "num certs %d\n", num_certs);

I suggest you return to the documentation and re-read what CURLINFO_CERTINFO
provides:

    http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html#CURLINFOCERTINFO

Pretending the returned data is an integer is not a good idea!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-26

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET