Hello, I have a problem with the saving SSL_SESSION objects. As there seems to be no SSL_SESSION_dup function I have created one:
SSL_SESSION* SSL_SESSION_dup (SSL_SESSION *sslSession) { SSL_SESSION *newSession = (SSL_SESSION *) ASN1_dup ((int(*)(void *in,unsigned char **pp)) i2d_SSL_SESSION, (void*(*) (void **a, const unsigned char **pp, long length)) d2i_SSL_SESSION, (char *) sslSession); return (newSession); } When I compare the sslSession with the newSession object, the member sess_cert of the new object that should store the certificate chain is NULL. In case of a later session hit and when the server certificate will no be sent again I have no information about the certificate chain, which I would like to have. Any ideas? Thanks ___________________________________________________________ Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! http://produkte.web.de/go/02/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org