Ignore this patch please, it was accidentally sent out. Thx!

On Wed, Feb 19, 2014 at 5:46 PM, Helga Velroyen <[email protected]> wrote:

> Signed-off-by: Helga Velroyen <[email protected]>
> ---
>  lib/http/__init__.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/lib/http/__init__.py b/lib/http/__init__.py
> index 614d6ba..25f32d9 100644
> --- a/lib/http/__init__.py
> +++ b/lib/http/__init__.py
> @@ -616,9 +616,12 @@ class HttpBase(object):
>        # This is required at least for GnuTLS clients to work.
>        try:
>          # This will fail for PyOpenssl versions before 0.10
> -        ctx.add_client_ca(self._ssl_cert)
> +        #ctx.add_client_ca(self._ssl_cert)
> +        logging.error("XXX noded using ca %s" % ssl_params.ssl_cert_path)
> +        ctx.load_client_ca(ssl_params.ssl_cert_path)
>        except AttributeError:
>          # Fall back to letting OpenSSL read the certificate file directly.
> +        logging.error("XXX noded using ca %s" % ssl_params.ssl_cert_path)
>          ctx.load_client_ca(ssl_params.ssl_cert_path)
>
>      return OpenSSL.SSL.Connection(ctx, sock)
> --
> 1.9.0.rc1.175.g0b1dcb5
>
>


-- 
-- 
Helga Velroyen | Software Engineer | [email protected] |

Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to