if (s->s3->rrec.comp != NULL) { Free(s->s3->rrec.comp); s->s3->rrec.comp=NULL; }
ssl_free_wbio_buffer(s);
void ssl3_clear(s)SSL *s;	{	unsigned char *rp,*wp;	ssl3_cleanup_key_block(s);	if (s->s3->tmp.ca_names != NULL)		sk_pop_free(s->s3->tmp.ca_names,X509_NAME_free);	rp=s->s3->rbuf.buf;	wp=s->s3->wbuf.buf;	memset(s->s3,0,sizeof(SSL3_CTX));	if (rp != NULL) s->s3->rbuf.buf=rp;	if (wp != NULL) s->s3->wbuf.buf=wp;	if (s->s3->rrec.comp != NULL)		{		Free(s->s3->rrec.comp);		s->s3->rrec.comp=NULL;		}	s->packet_length=0;	s->s3->renegotiate=0;	s->s3->total_renegotiations=0;	s->s3->num_renegotiations=0;	s->s3->in_read_app_data=0;	s->version=SSL3_VERSION;	}