Peter Meiser <[email protected]> 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

Reply via email to