cURL / Mailing Lists / curl-library / Single Mail

curl-library

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