memcpy(&ctx,in2_ctx,sizeof(EVP_MD_CTX));
EVP_MD_CTX_copy(&ctx,in2_ctx);
int tls1_final_finish_mac(s,in1_ctx,in2_ctx,str,slen,out)SSL *s;EVP_MD_CTX *in1_ctx,*in2_ctx;unsigned char *str;int slen;unsigned char *out;	{	unsigned int i;	EVP_MD_CTX ctx;	unsigned char buf[TLS_MD_MAX_CONST_SIZE+MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH];	unsigned char *q,buf2[12];	q=buf;	memcpy(q,str,slen);	q+=slen;	memcpy(&ctx,in1_ctx,sizeof(EVP_MD_CTX));	EVP_DigestFinal(&ctx,q,&i);	q+=i;	memcpy(&ctx,in2_ctx,sizeof(EVP_MD_CTX));	EVP_DigestFinal(&ctx,q,&i);	q+=i;	tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(q-buf),		s->session->master_key,s->session->master_key_length,		out,buf2,12);	memset(&ctx,0,sizeof(EVP_MD_CTX));	return((int)12);	}