Hi,

Can I share session cache between two processes that each create its own
SSL_CONTEXT? The two process then simply call
SSL_CTX_set_session_id_context() passing the same sid_ctx?

The following paragraph in the documentation seems to indicate that this
is not safe. Is this true?

http://www.openssl.org/docs/ssl/SSL_CTX_set_session_id_context.html

"Sessions are generated within a certain context. When
exporting/importing sessions with i2d_SSL_SESSION/d2i_SSL_SESSION it
would be possible, to re-import a session generated from another context
(e.g. another application), which might lead to malfunctions."

Thank you,
Ning
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to