Don't "goto err" in client_master_key because no such label exists;
just return -1 as in other error cases.
This commit is contained in:
parent
af5eb82979
commit
af6f388180
@ -567,7 +567,7 @@ static int client_master_key(SSL *s)
|
|||||||
if (RAND_bytes(sess->master_key,i) <= 0)
|
if (RAND_bytes(sess->master_key,i) <= 0)
|
||||||
{
|
{
|
||||||
ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR);
|
ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR);
|
||||||
goto err;
|
return(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user