if (s->expand != NULL) { COMP_CTX_free(s->expand); s->expand=NULL; } if (s->compress != NULL) { COMP_CTX_free(s->compress); s->compress=NULL; }
void ssl_clear_cipher_ctx(s)SSL *s;	{        if (s->enc_read_ctx != NULL)                {                EVP_CIPHER_CTX_cleanup(s->enc_read_ctx);                Free(s->enc_read_ctx);                s->enc_read_ctx=NULL;                }        if (s->enc_write_ctx != NULL)                {                EVP_CIPHER_CTX_cleanup(s->enc_write_ctx);                Free(s->enc_write_ctx);                s->enc_write_ctx=NULL;                }	}