SSL_SESSION_set1_ticket ?
Jeremy Harris
jgh at wizmail.org
Mon Apr 29 15:35:18 UTC 2019
On 10/04/2019 01:25, Viktor Dukhovni wrote:
> In Postfix, we implement the new session callbacks and then don't
> care when the tickets arrive. Whenever they do arrive the callback
> happens, and the client session cache is updated at that point.
>
> https://github.com/vdukhovni/postfix/blob/master/postfix/src/tls/tls_client.c#L531-L556
>
https://www.openssl.org/docs/manmaster/man3/SSL_CTX_sess_set_new_cb.html
documents SSL_CTX_sess_set_new_cb as being for "server side". You seem
to be using it client-side:
SSL_CTX_sess_set_new_cb(client_ctx, new_client_session_cb);
Is this valid?
--
Cheers,
Jeremy
More information about the openssl-users
mailing list