[Commits] [SCM] claws branch, master, updated. 3.14.0-85-ga05eeae

Andrej Kacian andrej at kacian.sk
Sun Sep 18 10:56:25 CEST 2016


On Sun, 18 Sep 2016 10:50:03 +0200 (CEST)
ticho at claws-mail.org wrote:

> - Log -----------------------------------------------------------------
> commit a05eeae0e79999d34dd02d733fc83e9d04082b03
> Author: Andrej Kacian <ticho at claws-mail.org>
> Date:   Sun Sep 18 10:46:58 2016 +0200
> 
>     Fix using client TLS certificates for GnuTLS 3.0 and up.
>     
>     3.0 introduced new API for setting client certificates,
>     gnutls_certificate_set_retrieve_function2().
>     
>     This fixes bug #3684.

FWIW, I think we're doing something wrong for older gnutls, since I was
able to reproduce #3684 in a standalone test program.

That is, gnutls_handshake() returning GNUTLS_E_INVALID_REQUEST after
trying to load the client certificates in the same manner as CM did it
up to now.

The problem is that I cannot find documentation on how exactly to
modify the passed gnutls_retr2_st in the callback function. Volunteers
are welcome, I do not care about older gnutls enough to spend more time
on this. :)

Regards,
-- 
Andrej


More information about the Commits mailing list