On Wed, Mar 26, 2014 at 05:25:49PM -0400, Devon H. O'Dell wrote:
> Hi there,
>
> I'm working on an application that shares SSL_SESSION pointers between
> SSL_CTXs in multiple threads. The logic for sharing the session is
> roughly as follows:
>
> lock(&mtx);
> sp = get_cached_session_pointer();
Hi there,
I'm working on an application that shares SSL_SESSION pointers between
SSL_CTXs in multiple threads. The logic for sharing the session is
roughly as follows:
lock(&mtx);
sp = get_cached_session_pointer();
if (!SSL_set_session(ctx, sp)) {
SSL_set_session(ctx, NULL);
}
unlock(&mtx);
r