I am using OpenSSL in my application for TLS implementation. For session resumption I am maintaining a custom cache that stores the TLS session(SSL_Session object) and uses SSL_