cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Can't use curl with TLSv1.2 (OpenSSL)

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Wed, 16 Oct 2013 20:55:44 +0100

On Wed, 16 Oct 2013, Daniel Stenberg wrote:

> > Do we need to return an error such as CURLE_SSL_CIPHER or
> > CURLE_BAD_FUNCTION_ARGUMENT rather than silently continuing?
>
> Yes, we should return a failure if being asked to do something we know
> can't be done (in this config).

I've just pushed my take on a fix - any comments / suggested improvements
would be welcome.

I've tested it with a local HTTPS server as well as Exchange's SMTPS, POP3S
and IMAPS. HTTPS and SMTPS worked as expected, however, the POP3S and IMAPS
protocols seem to have problems reading the QUIT / LOGOUT responses after
the failure :(

I will look into the POP3 / IMAP issues.

Kind Regards

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-16