cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] cyassl: remove undefined reference to CyaSSL_no_filesystem_verify & add support for CURLOPT_SSL_CTX_FUNCTION

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 27 Mar 2015 19:05:54 -0400

On 3/27/2015 6:35 PM, Daniel Stenberg wrote:
> On Fri, 27 Mar 2015, Kyle L. Huff wrote:
>
>> Good catch. Fixed in the attached patches.
>
> Thanks a lot, merged! (I did change the real name part of your patches
> so that it appears properly in git.)
>

I made a few cosmetic changes (docs, checksrc compliance) to these
patches before I realized you committed them. The structure is still the
same. Also I changed the error message, I think this is a better
explanation:

curl: (35) SSL: Certificates couldn't be loaded because CyaSSL was built
with "no filesystem". Either disable peer verification (insecure) or if
you are building an application with libcurl you can load certificates
via CURLOPT_SSL_CTX_FUNCTION.

The changes are attached (he is still listed as author of both). If you
can't apply easily (I'm guessing not) let me know and I'll break it out
separately. If you don't want please change the failf it has an extra comma
+ failf(data,"CyaSSL: unable to verify certificate; no certificate",
+ " authorities registered");

Received on 2015-03-28