Hi,

Nikos Mavrogiannopoulos <[email protected]> skribis:

> On Fri, Jun 7, 2019 at 1:04 PM Ludovic Courtès <[email protected]> wrote:

[...]

>> The problem here is that you could get a GNUTLS_E_REAUTH_REQUEST
>> exception in the middle of a read from an I/O ports.  This breaks
>> abstraction because the caller of that read call may not know that the
>> port happens to be a GnuTLS record port.
>
> That should be similar to GNUTLS_E_REHANDSHAKE error. I'm not sure if
> that can be the right solution but there is the option of
> GNUTLS_AUTO_REAUTH.

Indeed, GNUTLS_AUTO_REAUTH looks like a simple solution.

Thanks!

Ludo’.

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to