[gnutls-help] error -24 GNUTLS_E_DECRYPTION_FAILED with two possible causes

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jan 26 14:57:00 CET 2015


On Mon, Jan 26, 2015 at 1:07 PM, Michel Briand <michelbriand at free.fr> wrote:
> Hello,
> I'm new to GnuTLS, cheers all.
> I've a strange bug in a client/server application using GnuTLS 3.3.8-5
> on Debian.
> I use async (non-blocking) send/recv.
> 99% of my messages are ok.
> But when I fork the server to proxy messages I got this strange error
> on the read side. Having first successfully sent a message, the other
> side (symetric = this is the same program) answers and it get the
> error :
> ret = -24
> GNUTLS_E_DECRYPTION_FAILED
> Decryption has failed

Could you explain this scenario more? What do you mean by fork to
proxy messages? Do you work the gnutls session, and send using the
same session from two processes?

regards,
Nikos



More information about the Gnutls-help mailing list