]> granicus.if.org Git - curl/commit
cyassl.c: return the correct error code on no CA cert
authorDan Fandrich <dan@coneharvesters.com>
Tue, 22 Jul 2014 22:43:47 +0000 (00:43 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 22 Jul 2014 22:52:56 +0000 (00:52 +0200)
commit713f96ee0c14d231d89f52f0ad0471336c147e97
treee4a7b28a43756c76e46474a32176f2553b5146d3
parentcc52d776dd378733997f9a0d325cb10f627e3a34
cyassl.c: return the correct error code on no CA cert

CyaSSL 3.0.0 returns a unique error code if no CA cert is available,
so translate that into CURLE_SSL_CACERT_BADFILE when peer verification
is requested.
lib/vtls/cyassl.c