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

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jan 26 15:28:36 CET 2015


On Mon, Jan 26, 2015 at 3:18 PM,  <michelbriand at free.fr> wrote:
>> 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
> The session init, connect and handshake are done in the parent process.
> A first exchange of messages (send/recv) takes place and works well.
> Then both ends fork to continue their exchanges.
> Child process has duplicated sockets and memory (so session should be ok ?).

Based on the error you see, I'd bet that you either receive or send by
the parent when the child already exists.

regards,
Nikos



More information about the Gnutls-help mailing list