cURL / Mailing Lists / curl-library / Single Mail


Re: Proposed SSLCERTS documentation change

From: Daniel Stenberg <>
Date: Tue, 19 Feb 2013 00:08:14 +0100 (CET)

On Sun, 17 Feb 2013, Nick Zitzmann wrote:

> Comments? Corrections? Objections? Blessings for committing?

Please commit!

> I also couldn't help but notice that the current lib/curl_schannel.c code
> returns CURLE_SSL_CONNECT_ERROR instead of CURLE_SSL_CACERT if there was a
> certificate-related error during the TLS/SSL handshake. Why
> CURLE_SSL_CONNECT_ERROR? I thought CURLE_SSL_CACERT was the correct return
> value if there was a certificate problem with the site, but I could be
> wrong.

I'd say that you're right. CURLE_SSL_CACERT is the return code to use if the
problem is related to the CA cert. I'm not really sure that's always the case
in there though...? I'm not the expert on the schannel code nor API.

List admin:
Received on 2013-02-19