Add fix for CVE-2013-4353
This commit is contained in:
parent
a05a2c67ef
commit
2f972419a3
@ -203,7 +203,11 @@ static void ssl3_take_mac(SSL *s)
|
|||||||
{
|
{
|
||||||
const char *sender;
|
const char *sender;
|
||||||
int slen;
|
int slen;
|
||||||
|
/* If no new cipher setup return immediately: other functions will
|
||||||
|
* set the appropriate error.
|
||||||
|
*/
|
||||||
|
if (s->s3->tmp.new_cipher == NULL)
|
||||||
|
return;
|
||||||
if (s->state & SSL_ST_CONNECT)
|
if (s->state & SSL_ST_CONNECT)
|
||||||
{
|
{
|
||||||
sender=s->method->ssl3_enc->server_finished_label;
|
sender=s->method->ssl3_enc->server_finished_label;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user