cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Using certificate from memory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 Dec 2008 22:26:42 +0100 (CET)

On Tue, 30 Dec 2008, Itay Dagan wrote:

> I think there should be somthing more friendly though (maybe there is ...
> and I dont know about it ) e.g : this set --> will get a buffer with our
> certificate
>
> url_easy_setopt(curl, CURLOPT_SSLVERIFY_FROM_MEM, buf);
>
> and add it to X509 sturct.
>
> Does it exist ? If not maybe I will add it :)

No, there doesn't exist anything like that - then the example code would've
used it!

One little problem would be to make it SSL library agnostic so that it'd be
possible to make the feature work with other libs than OpenSSL as well.

-- 
  / daniel.haxx.se
Received on 2008-12-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET