On Mon, Feb 23, 2009 at 7:56 AM, wwwclaes <[email protected]> wrote: > Ger Hobbelt-2 wrote: >> >> ...you might also consider creating two 'contexts', i.e. one SSL_CTX with >> and >> one SSL_CTX without compression >> > > Thanks again. I'm modifying an existing program and it creates a new > context at each new connection. This probably adds unnecessary > overhead so I'll look into changing that.
An SSL structure can have a NULL SSL_CTX, and there should be SSL_* methods for almost everything that SSL_CTX_* methods exist to do. However, if the SSL is created with a reference to an SSL_CTX, then it inherits the parameters from the SSL_CTX. -Kyle H ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
