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

michelbriand at free.fr michelbriand at free.fr
Mon Jan 26 15:18:06 CET 2015


> 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 ?).

The parent closes the socket but do NOT call gnutls_bye().
It calls gnutls_deinit(session) however.

Michel



More information about the Gnutls-help mailing list