s->init_num=0;
static int get_client_finished(SSL *s)	{	unsigned char *p;	int i;	p=(unsigned char *)s->init_buf->data;	if (s->state == SSL2_ST_GET_CLIENT_FINISHED_A)		{		i=ssl2_read(s,(char *)&(p[s->init_num]),1-s->init_num);		if (i < 1-s->init_num)			return(ssl2_part_read(s,SSL_F_GET_CLIENT_FINISHED,i));		if (*p != SSL2_MT_CLIENT_FINISHED)			{			if (*p != SSL2_MT_ERROR)				{				ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR);				SSLerr(SSL_F_GET_CLIENT_FINISHED,SSL_R_READ_WRONG_PACKET_TYPE);				}			else				SSLerr(SSL_F_GET_CLIENT_FINISHED,SSL_R_PEER_ERROR);			return(-1);			}		s->init_num=0;		s->state=SSL2_ST_GET_CLIENT_FINISHED_B;		}	/* SSL2_ST_GET_CLIENT_FINISHED_B */	i=ssl2_read(s,(char *)&(p[s->init_num]),s->s2->conn_id_length-s->init_num);	if (i < (int)s->s2->conn_id_length-s->init_num)		{		return(ssl2_part_read(s,SSL_F_GET_CLIENT_FINISHED,i));		}	if (memcmp(p,s->s2->conn_id,(unsigned int)s->s2->conn_id_length) != 0)		{		ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR);		SSLerr(SSL_F_GET_CLIENT_FINISHED,SSL_R_CONNECTION_ID_IS_DIFFERENT);		return(-1);		}	return(1);	}