cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] openssl: make it possible to build without SSLv3

From: Ray Satiro <>
Date: Mon, 10 Nov 2014 14:43:14 -0500

On 11/10/2014 7:17 AM, Alessandro Ghedini wrote:
> On lun, nov 10, 2014 at 03:13:21 -0500, Ray Satiro wrote:
>> I just tried OpenSSL 1.0.1j no-ssl3 and if I pass -3 to curl I still get a
>> SSLv3 client hello and connection.
> Yeah. The thing about no-ssl3 is that AFAICT, it only disables SSLv3 when
> SSLv23_client_method() is used, but the SSLv3_* functions still work (which is
> IMO wrong).

Yes, looks like they aren't disabled with no-ssl3. I found a comment in
one of their bugs that says the same [1]. Prior versions were actually
more relaxed [2]. Now I wonder if the patch you submitted is a good idea
because although I agree that defining OPENSSL_NO_SSL3 when building
OpenSSL should disable SSLv3 (protocol not ciphers) it doesn't.. so what
if someone who knows that behavior builds OpenSSL like that and expects
curl to still have SSLv3 capability when --sslv3? Is that unreasonable?

>> Still doesn't explain what I saw with unsupported protocol
> Not sure if this is the same situation as yours, but e.g.
> doesn't support SSLv3, so when I tried "curl -3" it failed
> with the error "sslv3 alert handshake failure". It took me a while to realize
> that the error came from the server and not curl... :/

Ah. Probably.


List admin:
Received on 2014-11-10