cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: API to include cacert using a C string

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 Jan 2016 00:09:24 +0100 (CET)

On Tue, 5 Jan 2016, Thomas Glanzmann wrote:

> I used openssl before and switched recently to mbedtls. Since I'm building a
> windows application I would like to include tha cacert into the binary
> itself. With OpenSSL there is an example[1] for mbedtls there was nothing so
> I wrote a small patch (attached). I would like to know if other people are
> also interested in this and if we should create a generic API for all SSL
> backends to make this possible? If this is the case, I would like to work on
> it.

This has come up several times in the past, so I would say that yes it is
about time to start considering adding this.

I will gladly accept patches that introduce it. Have you considered the
API/option for passing the cacert bundle to libcurl ?

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