cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: loading private key directly out of memory

From: Arun Victor <AVictor_at_flexerasoftware.com>
Date: Tue, 3 Sep 2013 14:17:00 +0000

> I was thinking about using CURLOPT_SSL_CTX_FUNCTION but it seems like a hack.

This is what SSL CTX FUNCTION allows you to do. Some OSes / environments allow you to load from files (such as Linux), where you can use CURLOPT_CAINFO / CAPATH to point to a cert file/directory. In others (such as Windows), you would have to use CURLOPT_SSL_CTX_FUNCTION.

Thanks,
Arun.

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