I found in doc/ssleay.txt :
[...]
The PEM_write_SSL_SESSION(fp,x) and PEM_read_SSL_SESSION(fp,x,cb) will
write to a file pointer in base64 encoding.
What you can do with this, is pass session information between separate
processes.
[...]
Le 06/11/2012 12:11, Eisenacher, Patrick a écrit
Once you have the SSL_SESSION, convert it to ASN1 (via i2d_SSL_SESSION) and
dump it to a file. Read that file in with your second program and convert it
back from ASN1 to SSL_SESSION(via d2i_SSL_SESSION) and add it to the
SSL_SESSION cache of the SSL_CTX (via SSL_CTX_add_session).
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org