This commit was generated by cvs2svn to compensate for changes in r127114,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Jacques Vidrine 2004-03-17 12:11:08 +00:00
commit 1612471010
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127115

View File

@ -1085,6 +1085,14 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
goto err;
}
/* Check we have a cipher to change to */
if (s->s3->tmp.new_cipher == NULL)
{
i=SSL_AD_UNEXPECTED_MESSAGE;
SSLerr(SSL_F_SSL3_GET_CERT_VERIFY,SSL_R_CCS_RECEIVED_EARLY);
goto err;
}
rr->length=0;
if (s->msg_callback)