curl-library
API to include cacert using a C string
From: Thomas Glanzmann <thomas_at_glanzmann.de>
Date: Tue, 5 Jan 2016 19:42:38 +0100
Date: Tue, 5 Jan 2016 19:42:38 +0100
Hello,
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.
[1] http://curl.haxx.se/libcurl/c/cacertinmem.html
Cheers,
Thomas
Received on 2016-01-05