cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: loading private key directly out of memory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 3 Sep 2013 22:58:10 +0200 (CEST)

On Tue, 3 Sep 2013, Vclav Zeman wrote:

> Is it possible to not use files to load certificates and private keys for
> OpenSSL and instead load the data from memory?
>
> I was thinking about using CURLOPT_SSL_CTX_FUNCTION but it seems like a
> hack.

It is a bit of a hack, but that's the only way we currently provide. I
wouldn't mind having a better way...

-- 
  / daniel.haxx.se

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