[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] ifndef protection if OpenSSL is compiled without
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [PATCH] ifndef protection if OpenSSL is compiled without SSLv3 |
Date: |
Wed, 29 Oct 2014 19:28:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Peter Meiser <address@hidden> writes:
> Hi,
>
> please find attached a patch to add a ifndef protection if OpenSSL is
> compiled without SSLv3.
>
> Regards,
> Peter
>
> --- src/openssl.c
> +++ src/openssl.c
> @@ -208,9 +208,11 @@
> meth = SSLv2_client_method ();
> break;
> #endif
> +#ifndef OPENSSL_NO_SSL3
> case secure_protocol_sslv3:
> meth = SSLv3_client_method ();
> break;
> +#endif
> case secure_protocol_auto:
> case secure_protocol_pfs:
> case secure_protocol_tlsv1:
thanks for your contribution, I've just pushed it.
Giuseppe